subscript(_:)
Retrieves the sample value at the specified index.
Declaration
subscript(layerIndex: Int) -> MTLRasterizationRateLayerDescriptor? { get set }Parameters
- layerIndex:
The index of the sample you want to retrieve.
Return Value
An NSNumber instance describing the value of the sample at the specified index, or 0 if the index is out of range.