Instance Method

makeSharedTextureHandle()

Creates a new texture handle from a shareable texture.

Required.

Declaration

func makeSharedTextureHandle() -> MTLSharedTextureHandle?

Discussion

If the texture is not shareable, this method returns nil.