C++ Java Unity
C++ Reference
GLTextureUnit Class Reference

Detailed Description

OpenGL-specific texture unit data.

GLTextureUnit object passed to Vuforia which binds the texture to the mTextureUnit value.

Use with Renderer::updateVideoBackgroundTexture().

Inheritance diagram for GLTextureUnit:
TextureUnit

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

Constructor & Destructor Documentation

GLTextureUnit ( int  unit = 0)

Convenience constructor.

Parameters
unitThe texture index of this texture unit.

Member Function Documentation

virtual const void* buffer ( ) const
virtual

Get a pointer to the member data for the class.

Implements TextureUnit.

Member Data Documentation

int mTextureUnit