15 #ifndef __GU_DisplayCache_H__
16 #define __GU_DisplayCache_H__
27 #define GU_GIVEUP 65535 // Something we can't deal with, so
29 #define GU_BEGINPOLY 65534 // Begin polygon
30 #define GU_BEGINTRI 65533 // Begin triangle
31 #define GU_BEGINQUAD 65532 // Begin quad
32 #define GU_ENDPOLY 65531 // End polygon
33 #define GU_ENDCOMMAND 65530 // End of all polygons
53 {
return allDirty|xformDirty|xlateDirty|uvDirty; }
56 {
return allDirty+xformDirty+xlateDirty+uvDirty; }
59 { allDirty = xformDirty = xlateDirty = uvDirty = 0; }
79 int isDirty()
const {
return theFlags.isDirty(); }
81 int isMessy()
const {
return theFlags.allDirty; }
83 int howDirty()
const {
return theFlags.howDirty(); }
85 void clear() { theFlags.clear(); }
90 theFlags.pushXform = 0;
91 theFlags.allDirty = 1;
96 int transformed()
const {
return theFlags.xformDirty; }
102 int translated()
const {
return theFlags.xlateDirty; }
108 int uvChanged()
const {
return theFlags.uvDirty; }
117 int pushXform()
const {
return theFlags.pushXform; }
119 void pushXform(
int yesno) { theFlags.pushXform = yesno; }
124 const
UT_Matrix4 &transformation()
const {
return theXform; }
129 virtual
void initializeData();
135 virtual
void assimilateXform();
164 void lod(
float l) { theLOD = l; }
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
*get result *(waiting if necessary)*A common idiom is to fire a bunch of sub tasks at the and then *wait for them to all complete We provide a helper class
#define SYS_DEPRECATED_PUSH_DISABLE()
#define SYS_DEPRECATED_POP_DISABLE()
GLboolean GLboolean GLboolean GLboolean a
IMATH_NAMESPACE::V2f float
#define SYS_DEPRECATED_HDK(__V__)
GA_API const UT_StringHolder transform
PUGI__FN char_t * translate(char_t *buffer, const char_t *from, const char_t *to, size_t to_length)