setArgumentBuffer(_:offset:)
Specifies the position in a buffer where the encoder writes argument data.
Declaration
func setArgumentBuffer(_ argumentBuffer: (any MTLBuffer)?, offset: Int)Parameters
- argumentBuffer:
The destination buffer that represents an argument buffer.
- offset:
The byte offset of the buffer.