OpenGL-specific texture data.
GLTextureData object is passed to Vuforia to set the GL texture ID of the video background texture created by the app.
Use with Renderer::setVideoBackgroundTexture() and in conjunction with Renderer::updateVideoBackgroundTexture().
Public Member Functions | |
GLTextureData (int videoBackgroundTextureID=0) | |
Convenience constructor. More... | |
~GLTextureData () | |
virtual const void * | buffer () const |
Get a pointer to the member data for the class. More... | |
Public Member Functions inherited from TextureData | |
int | type () const |
Get the type of data in use (one of Vuforia::INIT_FLAGS). More... | |
Public Attributes | |
int | mVideoBackgroundTextureID |
Additional Inherited Members | |
Protected Member Functions inherited from TextureData | |
TextureData (int type) | |
Construct with a specific type (one of Vuforia::INIT_FLAGS). More... | |
~TextureData () | |
GLTextureData | ( | int | videoBackgroundTextureID = 0 | ) |
Convenience constructor.
videoBackgroundTextureID | The video background texture to use. |
~GLTextureData | ( | ) |
|
virtual |
Get a pointer to the member data for the class.
Implements TextureData.
int mVideoBackgroundTextureID |