Metal-specific texture unit.
MetalTextureUnit object passed to Vuforia to set the video background texture unit after updating the background image data. The fragment texture is set on the current render command encoder at the index specified by mTextureIndex.
Public Member Functions | |
MetalTextureUnit (int textureIndex=0) | |
Convenience constructor. More... | |
~MetalTextureUnit () | |
virtual const void * | buffer () const |
Get a pointer to the member data for the class. More... | |
Public Member Functions inherited from TextureUnit | |
int | type () const |
Get the type of data in use (one of Vuforia::INIT_FLAGS). More... | |
Public Attributes | |
int | mTextureIndex |
Additional Inherited Members | |
Protected Member Functions inherited from TextureUnit | |
TextureUnit (int type) | |
Construct with a specific type (one of Vuforia::INIT_FLAGS). More... | |
~TextureUnit () | |
MetalTextureUnit | ( | int | textureIndex = 0 | ) |
Convenience constructor.
textureIndex | The index of this texture unit. |
~MetalTextureUnit | ( | ) |
|
virtual |
Get a pointer to the member data for the class.
Implements TextureUnit.
int mTextureIndex |