HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_VertexMap Class Reference

#include <RE_VertexState.h>

+ Inheritance diagram for RE_VertexMap:

Public Member Functions

 RE_VertexMap (int num_attribs=0)
 
 ~RE_VertexMap ()
 
void setMapSize (int nv)
 
virtual bool init (RE_Render *r)
 
int setAttrib (RE_VertexArray *attrib, RE_GPUType shader_type, int attribute_location)
 
int setAttrib (const char *attrib_name, RE_GPUType t, int vsize, int attribute_location, RE_GenericAttribID id, int64 *maskptr=NULL)
 
int64 setConstAttrib (const char *attrib_name, RE_GPUType t, int vsize, int attribute_location, RE_GenericAttribID id)
 
int setTexBuffer (const char *attrib_name, bool unbind_attr)
 
void removeAttrib (const char *attrib_name)
 
void removeTexBuffer (const char *attrib_name)
 
void clearAttrib (int attribute_location)
 
void clear ()
 
bool compatibleWith (const RE_VertexMap &shader_map, const RE_VertexMap *geo_map) const
 
int64 getAttributeMask () const
 
int64 getConstantMask () const
 
int64 getTextureMask () const
 
int64 getLocationMask () const
 
bool hasCustomAttrib (const char *attrib_name) const
 
void print (RE_Render *r, std::ostream &os) const
 
int64 getMemoryUsage (bool inclusive) const
 
- Public Member Functions inherited from RE_ContextSpecificObject
 RE_ContextSpecificObject ()
 
virtual ~RE_ContextSpecificObject ()
 
void initContext (RE_Render *r)
 
bool matchesContext (RE_Render *r) const
 
void clearContext ()
 

Additional Inherited Members

- Protected Member Functions inherited from RE_ContextSpecificObject
RE_RendergetMyRender ()
 
bool initOrCheckRender (RE_Render *r)
 

Detailed Description

Definition at line 42 of file RE_VertexState.h.

Constructor & Destructor Documentation

RE_VertexMap::RE_VertexMap ( int  num_attribs = 0)
RE_VertexMap::~RE_VertexMap ( )

Member Function Documentation

void RE_VertexMap::clear ( )
void RE_VertexMap::clearAttrib ( int  attribute_location)
bool RE_VertexMap::compatibleWith ( const RE_VertexMap shader_map,
const RE_VertexMap geo_map 
) const
int64 RE_VertexMap::getAttributeMask ( ) const
inline

Definition at line 85 of file RE_VertexState.h.

int64 RE_VertexMap::getConstantMask ( ) const
inline

Definition at line 87 of file RE_VertexState.h.

int64 RE_VertexMap::getLocationMask ( ) const
inline

Definition at line 92 of file RE_VertexState.h.

int64 RE_VertexMap::getMemoryUsage ( bool  inclusive) const
inline

Returns the amount of main memory owned by this RE_VertexMap. RE_VertexMap does not have an associated graphics memory.

Definition at line 101 of file RE_VertexState.h.

int64 RE_VertexMap::getTextureMask ( ) const
inline

Definition at line 89 of file RE_VertexState.h.

bool RE_VertexMap::hasCustomAttrib ( const char *  attrib_name) const
virtual bool RE_VertexMap::init ( RE_Render r)
virtual
void RE_VertexMap::print ( RE_Render r,
std::ostream &  os 
) const
void RE_VertexMap::removeAttrib ( const char *  attrib_name)
void RE_VertexMap::removeTexBuffer ( const char *  attrib_name)
int RE_VertexMap::setAttrib ( RE_VertexArray attrib,
RE_GPUType  shader_type,
int  attribute_location 
)
int RE_VertexMap::setAttrib ( const char *  attrib_name,
RE_GPUType  t,
int  vsize,
int  attribute_location,
RE_GenericAttribID  id,
int64 maskptr = NULL 
)
int64 RE_VertexMap::setConstAttrib ( const char *  attrib_name,
RE_GPUType  t,
int  vsize,
int  attribute_location,
RE_GenericAttribID  id 
)
void RE_VertexMap::setMapSize ( int  nv)
int RE_VertexMap::setTexBuffer ( const char *  attrib_name,
bool  unbind_attr 
)

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