Base class used for passing texture unit data to Vuforia.
Base class for the TextureUnit object passed to Vuforia to set the video background texture after updating the background image data.
Applications must use one of the rendering API specific sub-classes, not this base class.
Public Member Functions | |
virtual const void * | buffer () const =0 |
Get a pointer to the member data for the class. More... | |
int | type () const |
Get the type of data in use (one of Vuforia::INIT_FLAGS). More... | |
Protected Member Functions | |
TextureUnit (int type) | |
Construct with a specific type (one of Vuforia::INIT_FLAGS). More... | |
~TextureUnit () | |
|
protected |
Construct with a specific type (one of Vuforia::INIT_FLAGS).
|
protected |
|
pure virtual |
Get a pointer to the member data for the class.
Implemented in MetalTextureUnit, and GLTextureUnit.
|
inline |
Get the type of data in use (one of Vuforia::INIT_FLAGS).