elementTextureReferenceType()
Provides a description of the underlying texture type when an array holds textures as its elements.
Declaration
func elementTextureReferenceType() -> MTLTextureReferenceType?Return Value
An object that describes the texture. If the array elements aren’t textures, this method returns nil.
Discussion
Use this method if elementType is MTLDataType.texture.