Contents

textureIndex

The index of the view’s textures in the drawable.

Declaration

var textureIndex: Int { get }

Discussion

Compositor Services places the color and depth textures for this view at same index number in the drawable. Use the returned index to the colorTextures or depthTextures properties to retrieve the appropriate texture.

Compositor Services places the color and depth textures for this view at same index number in the drawable. In Swift, the index applies to the colorTexturesand depthTextures properties. In ObjectiveC, the index applies to the cp_drawable_get_color_texture and cp_drawable_get_depth_texture functions.

See Also

Getting the view’s texture map