11 #ifndef __GA_AIFBlindData__
12 #define __GA_AIFBlindData__
40 GA_BLINDDATA_BIG_ENDIAN
47 const void *default_value=NULL)
const = 0;
53 GA_Size alignment_bytes)
const = 0;
65 virtual void setSaveFlag(
GA_Attribute *
a,
bool save)
const = 0;
72 virtual GA_BlindDataEndian getEndianFlag(
const GA_Attribute *
a)
const = 0;
77 virtual const void *getReadData(
const GA_Attribute *attrib,
87 {
return *
static_cast<const T *
>(getReadData(atr, off)); }
91 {
return *
static_cast<T *
>(getWriteData(atr, off)); }
96 { *
static_cast<T *
>(getWriteData(atr, off)) = value; }
Definition of a geometry attribute.
GLboolean GLboolean GLboolean GLboolean a
T & getWriteValue(GA_Attribute *atr, GA_Offset off) const
Convenience function to access value as a writable object.
exint GA_Size
Defines the bit width for index and offset types in GA.
Attribute Interface for blind data per element.
void setValue(GA_Attribute *atr, GA_Offset off, const T &value) const
Convenience function to set value to an object.
const T & getValue(const GA_Attribute *atr, GA_Offset off) const
Convenience function to access value as a read-only object.