Instance Method

setObject:atIndexedSubscript:

Sets a pipeline buffer descriptor at the specified array index.

Declaration

- (void)setObject:(MTLPipelineBufferDescriptor *)buffer atIndexedSubscript:(NSUInteger)bufferIndex;

Parameters

buffer

The pipeline buffer descriptor to set in the array.

bufferIndex

The array index in which to set the given pipeline buffer descriptor.

See Also

Accessing Array Elements

- objectAtIndexedSubscript:

Returns the pipeline buffer descriptor at the specified array index.