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 () override
 
void setMapSize (int nv)
 
bool init (RE_Render *r) override
 
int setAttrib (RE_VertexArray *attrib, RE_GPUType shader_type, int attribute_location)
 
int setAttrib (const UT_StringHolder &attrib_name, RE_GPUType t, int vsize, int attribute_location, RE_GenericAttribID id, int64 *maskptr=nullptr)
 
int64 setConstAttrib (const UT_StringHolder &attrib_name, RE_GPUType t, int vsize, int attribute_location, RE_GenericAttribID id)
 
int setTexBuffer (const UT_StringHolder &attrib_name, bool unbind_attr)
 
void removeAttrib (const UT_StringHolder &attrib_name)
 
void removeTexBuffer (const UT_StringHolder &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 UT_StringHolder &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 43 of file RE_VertexState.h.

Constructor & Destructor Documentation

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

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 86 of file RE_VertexState.h.

int64 RE_VertexMap::getConstantMask ( ) const
inline

Definition at line 88 of file RE_VertexState.h.

int64 RE_VertexMap::getLocationMask ( ) const
inline

Definition at line 93 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 102 of file RE_VertexState.h.

int64 RE_VertexMap::getTextureMask ( ) const
inline

Definition at line 90 of file RE_VertexState.h.

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

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