C++ Java Unity
C++ Reference
GLTextureData Class Reference

Detailed Description

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().

Inheritance diagram for GLTextureData:
TextureData

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 ()
 

Constructor & Destructor Documentation

GLTextureData ( int  videoBackgroundTextureID = 0)

Convenience constructor.

Parameters
videoBackgroundTextureIDThe video background texture to use.

Member Function Documentation

virtual const void* buffer ( ) const
virtual

Get a pointer to the member data for the class.

Implements TextureData.

Member Data Documentation

int mVideoBackgroundTextureID