C++ Java Unity
C++ Reference
RenderData Class Referenceabstract

Detailed Description

Base class used when passing 3D graphics rendering API specific data to Vuforia.

Base class for the RenderData object passed to Vuforia when performing rendering operations.

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

See also
GLRenderer.h
MetalRenderer.h
Inheritance diagram for RenderData:
DXRenderData MetalRenderData

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

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

Constructor & Destructor Documentation

RenderData ( int  type)
protected

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

~RenderData ( )
protected

Destructor.

Member Function Documentation

virtual const void* buffer ( ) const
pure virtual

Get a pointer to the member data for the class.

Implemented in MetalRenderData, and DXRenderData.

int type ( ) const
inline

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