texture(at:)
Returns the texture bound at the given index, or nil if the slot is unset.
Declaration
final func texture(at index: Int) -> LowLevelTextureResource?Parameters
- index:
The slot index within the argument table’s texture array.
Return Value
The texture resource at index, or nil if the slot is unoccupied.