RE_GeometryObject Class Reference

#include <RE_GeometryObject.h>

List of all members.

Public Member Functions

 RE_GeometryObject (int num_vertices=0, bool use_buffer_object=true)
 ~RE_GeometryObject ()
void useBufferObjects (bool use_buf)
void setNumVertices (int num)
int getNumVertices () const
RE_ArraycreateArray (RE_Render *r, RE_BufferType type, int tex_level, RE_GPUType data_format, int vectorsize, const void *data)
bool attachArray (RE_Array *array)
RE_ArraydetachArray (RE_BufferType type, int tex_level=0)
void clearArray (RE_BufferType type, int tex_level=0)
RE_ArraygetArray (RE_BufferType type, int tex_level=0)
RE_ArraycreateAttribute (RE_Render *r, const char *attrib_name, RE_GPUType data_format, int vectorsize, const void *data)
RE_ArraydetachAttribute (const char *name)
void clearAttribute (const char *name)
RE_ArraygetAttribute (const char *name)
int connectAllPrims (RE_Render *r, const char *connect_group, RE_PrimType prim, RE_Material *mat=NULL)
int connectSomePrims (RE_Render *r, const char *connect_group, RE_PrimType prim, int start, int length, unsigned int stride=0, RE_Material *mat=NULL)
int connectIndexedPrims (RE_Render *r, const char *connect_group, RE_PrimType prim, int num, const unsigned int *prims, RE_Material *mat=NULL)
int connectIndexedPrims (RE_Render *r, const char *connect_group, RE_PrimType prim, RE_Array *elements, RE_Material *mat=NULL)
void removeConnectedPrims (const char *connect_name)
void resetConnectedPrims ()
void useArray (const char *connect_group, RE_BufferType type, int tex_level, bool enable)
void useAttribute (const char *connect_group, const char *name, bool enable)
void useAllArrays (const char *connect_group, bool enable)
void useAllAttributes (const char *connect_group, bool enable)
void draw (RE_Render *r, const char *connect_group)
void addContainingDisplayList (RE_OGLDisplayList *)
void removeContainingDisplayList (RE_OGLDisplayList *)


Detailed Description

Definition at line 45 of file RE_GeometryObject.h.


Constructor & Destructor Documentation

RE_GeometryObject::RE_GeometryObject ( int  num_vertices = 0,
bool  use_buffer_object = true 
)

RE_GeometryObject::~RE_GeometryObject (  ) 


Member Function Documentation

void RE_GeometryObject::addContainingDisplayList ( RE_OGLDisplayList  ) 

bool RE_GeometryObject::attachArray ( RE_Array array  ) 

void RE_GeometryObject::clearArray ( RE_BufferType  type,
int  tex_level = 0 
)

void RE_GeometryObject::clearAttribute ( const char *  name  ) 

int RE_GeometryObject::connectAllPrims ( RE_Render r,
const char *  connect_group,
RE_PrimType  prim,
RE_Material mat = NULL 
)

int RE_GeometryObject::connectIndexedPrims ( RE_Render r,
const char *  connect_group,
RE_PrimType  prim,
RE_Array elements,
RE_Material mat = NULL 
)

int RE_GeometryObject::connectIndexedPrims ( RE_Render r,
const char *  connect_group,
RE_PrimType  prim,
int  num,
const unsigned int *  prims,
RE_Material mat = NULL 
)

int RE_GeometryObject::connectSomePrims ( RE_Render r,
const char *  connect_group,
RE_PrimType  prim,
int  start,
int  length,
unsigned int  stride = 0,
RE_Material mat = NULL 
)

RE_Array* RE_GeometryObject::createArray ( RE_Render r,
RE_BufferType  type,
int  tex_level,
RE_GPUType  data_format,
int  vectorsize,
const void *  data 
)

RE_Array* RE_GeometryObject::createAttribute ( RE_Render r,
const char *  attrib_name,
RE_GPUType  data_format,
int  vectorsize,
const void *  data 
)

RE_Array* RE_GeometryObject::detachArray ( RE_BufferType  type,
int  tex_level = 0 
)

RE_Array* RE_GeometryObject::detachAttribute ( const char *  name  ) 

void RE_GeometryObject::draw ( RE_Render r,
const char *  connect_group 
)

RE_Array* RE_GeometryObject::getArray ( RE_BufferType  type,
int  tex_level = 0 
)

RE_Array* RE_GeometryObject::getAttribute ( const char *  name  ) 

int RE_GeometryObject::getNumVertices (  )  const [inline]

Definition at line 61 of file RE_GeometryObject.h.

void RE_GeometryObject::removeConnectedPrims ( const char *  connect_name  ) 

void RE_GeometryObject::removeContainingDisplayList ( RE_OGLDisplayList  ) 

void RE_GeometryObject::resetConnectedPrims (  ) 

void RE_GeometryObject::setNumVertices ( int  num  ) 

void RE_GeometryObject::useAllArrays ( const char *  connect_group,
bool  enable 
)

void RE_GeometryObject::useAllAttributes ( const char *  connect_group,
bool  enable 
)

void RE_GeometryObject::useArray ( const char *  connect_group,
RE_BufferType  type,
int  tex_level,
bool  enable 
)

void RE_GeometryObject::useAttribute ( const char *  connect_group,
const char *  name,
bool  enable 
)

void RE_GeometryObject::useBufferObjects ( bool  use_buf  ) 


The documentation for this class was generated from the following file:

Generated on Mon Jan 28 00:29:50 2013 for HDK by  doxygen 1.5.9