OpenGL-specific texture unit data.
GLTextureUnit object passed to Vuforia which binds the texture to the mTextureUnit value.
Use with Renderer::updateVideoBackgroundTexture().
Public Member Functions | |
GLTextureUnit (int unit=0) | |
Convenience constructor. More... | |
~GLTextureUnit () | |
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 | mTextureUnit |
Additional Inherited Members | |
Protected Member Functions inherited from TextureUnit | |
TextureUnit (int type) | |
Construct with a specific type (one of Vuforia::INIT_FLAGS). More... | |
~TextureUnit () | |
GLTextureUnit | ( | int | unit = 0 | ) |
Convenience constructor.
unit | The texture index of this texture unit. |
~GLTextureUnit | ( | ) |
|
virtual |
Get a pointer to the member data for the class.
Implements TextureUnit.
int mTextureUnit |