textureReferenceType()
Provides a description of the underlying texture when the struct member holds a texture.
Declaration
func textureReferenceType() -> MTLTextureReferenceType?Return Value
An object that describes the texture. If dataType indicates that this member isn’t a texture, this method returns nil.