C++ Java Unity
C++ Reference
TextureData Class Referenceabstract

Detailed Description

Base class used for passing texture data to Vuforia.

Base class for the TextureData object passed to Vuforia to set the video background texture created by the app.

Applications must use one of the rendering API specific sub-classes, not this base class.

See also
GLRenderer.h
MetalRenderer.h
Inheritance diagram for TextureData:
DXTextureData GLTextureData MetalTextureData

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

 TextureData (int type)
 Construct with a specific type (one of Vuforia::INIT_FLAGS). More...
 
 ~TextureData ()
 

Constructor & Destructor Documentation

TextureData ( int  type)
protected

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

~TextureData ( )
protected

Member Function Documentation

virtual const void* buffer ( ) const
pure virtual

Get a pointer to the member data for the class.

Implemented in DXTextureData, MetalTextureData, and GLTextureData.

int type ( ) const
inline

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