|
| | GA_PageHandleT () |
| |
| | GA_PageHandleT (EXTERNAL_ATTRIB *attrib, int component=0) |
| |
| | GA_PageHandleT (DETAIL *gdp, GA_AttributeOwner owner, const char *name, int component=0) |
| |
| | ~GA_PageHandleT () |
| |
| void | bind (EXTERNAL_ATTRIB *attrib, int component=0) |
| |
| void | bindUnsafe (EXTERNAL_ATTRIB *attrib, int component=0) |
| |
| void | bind (DETAIL *gdp, GA_AttributeOwner owner, const char *name, int component=0) |
| |
| void | setComponent (int comp) |
| |
| EXTERNAL_ATTRIB * | getAttribute () const |
| |
| EXTERNAL_ATTRIB * | operator-> () const |
| |
| void | bumpDataId () const |
| |
| GA_DataId | getDataId () const |
| |
| void | clear () |
| |
| void | setDefaultValue (T value) |
| |
| SYS_FORCE_INLINE bool | isCurrentPageConstant () const |
| |
| void | makeConstant (T cval) |
| |
| void | setPageConstant (GA_PageNum pagenum, T values) |
| |
| SYS_FORCE_INLINE bool | isValid () const |
| |
| SYS_FORCE_INLINE bool | isInvalid () const |
| |
| void | setPage (GA_Offset pagebase) |
| |
| T | get (GA_Offset off) const |
| |
| T | getRelative (GA_PageOff rel) const |
| |
| void | set (GA_Offset off, T value) |
| |
| void | setRelative (GA_PageOff rel, T value) |
| |
| T & | value (GA_Offset off) |
| |
| T & | valueRelative (GA_PageOff rel) |
| |
| void | flushIfNeeded () |
| |
template<typename T, typename TB, bool READ, bool WRITE, typename EXTERNAL_ATTRIB, typename INTERNAL_ATTRIB, typename DETAIL>
class GA_PageHandleT< T, TB, READ, WRITE, EXTERNAL_ATTRIB, INTERNAL_ATTRIB, DETAIL >
Definition at line 37 of file GA_PageHandle.h.
template<typename T , typename TB , bool READ, bool WRITE, typename EXTERNAL_ATTRIB , typename INTERNAL_ATTRIB , typename DETAIL >
| void GA_PageHandleT< T, TB, READ, WRITE, EXTERNAL_ATTRIB, INTERNAL_ATTRIB, DETAIL >::bindUnsafe |
( |
EXTERNAL_ATTRIB * |
attrib, |
|
|
int |
component = 0 |
|
) |
| |
|
inline |
template<typename T , typename TB , bool READ, bool WRITE, typename EXTERNAL_ATTRIB , typename INTERNAL_ATTRIB , typename DETAIL >
This returns if the page was constant when it was fetched. It may no longer be constant if someone wrote to it.
Definition at line 121 of file GA_PageHandle.h.
template<typename T , typename TB , bool READ, bool WRITE, typename EXTERNAL_ATTRIB , typename INTERNAL_ATTRIB , typename DETAIL >
Somewhat expensive as it must flush and rebind! It is preferred to have several page handles, one for each component.
Definition at line 74 of file GA_PageHandle.h.
template<typename T , typename TB , bool READ, bool WRITE, typename EXTERNAL_ATTRIB , typename INTERNAL_ATTRIB , typename DETAIL >
Sets the default value If the attribute is unbound, this is the value that will be read.
Definition at line 107 of file GA_PageHandle.h.
template<typename T , typename TB , bool READ, bool WRITE, typename EXTERNAL_ATTRIB , typename INTERNAL_ATTRIB , typename DETAIL >
Sets all components of all elements of the specified page to the given values. NOTE: The length of values must be equal to the tuple size.
Definition at line 132 of file GA_PageHandle.h.