Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
GLCanvasGeometry Class Reference

Public Member Functions

 GLCanvasGeometry (GlProgram *_program)
 
void update (CanvasImage **list, INodeUint32 nlist)
 
void draw ()
 
void draw (int i)
 
void exit ()
 
void set_null ()
 
void bind ()
 
void unbind ()
 
INodeUint64 get_mem_usage () const
 

Detailed Description

Controls the canvas geometry and sets the vertex shader attributes.

Constructor & Destructor Documentation

GLCanvasGeometry::GLCanvasGeometry ( GlProgram *  _program)

Constructor.

Member Function Documentation

void GLCanvasGeometry::bind ( )
inline

Bind the VBO.

void GLCanvasGeometry::draw ( )

Draw all canvas quads.

void GLCanvasGeometry::draw ( int  i)

Draw only the specified canvas quad.

void GLCanvasGeometry::exit ( )
inline

Delete the VBO.

INodeUint64 GLCanvasGeometry::get_mem_usage ( ) const
inline

Get memory usage.

void GLCanvasGeometry::set_null ( )

Reset the number of quads to zero.

void GLCanvasGeometry::unbind ( )
inline

Unbind the VBO

void GLCanvasGeometry::update ( CanvasImage **  list,
INodeUint32  nlist 
)

Update the VBO data.

Parameters
listCanvasImage list.
nlistCanvasImage count.