C++ Java Unity
C++ Reference
TextureUnit Class Referenceabstract

Detailed Description

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.

See also
GLRenderer.h
MetalRenderer.h
Inheritance diagram for TextureUnit:
GLTextureUnit MetalTextureUnit

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

Constructor & Destructor Documentation

TextureUnit ( int  type)
protected

Construct with a specific type (one of Vuforia::INIT_FLAGS).

~TextureUnit ( )
protected

Member Function Documentation

virtual const void* buffer ( ) const
pure virtual

Get a pointer to the member data for the class.

Implemented in MetalTextureUnit, and GLTextureUnit.

int type ( ) const
inline

Get the type of data in use (one of Vuforia::INIT_FLAGS).