12 #ifndef __GA_CEAttribute__
13 #define __GA_CEAttribute__
29 GA_Size tuplesize,
bool isarray,
31 bool leave_on_gpu =
false);
43 cl::Buffer indexBuffer()
const {
return myIndexBuffer; }
44 GA_Size entries()
const {
return myEntries; }
45 int tupleSize()
const {
return myTupleSize; }
48 bool isArray()
const {
return myIsArray; }
59 tuplesize, isarray, docopy);
70 if (!gdp)
return false;
76 return attributeToOCL(attrib, storage, precision, tuplesize, isarray, docopy);
95 bool packedIntArrayToOCL(
103 if (!gdp)
return false;
109 return oclToAttribute(attrib);
113 bool isWriteBackRequired()
const {
return myWriteBackRequired; }
114 void setWriteBackRequired(
bool isrequired) { myWriteBackRequired = isrequired; }
142 bool myWriteBackRequired;
Definition of a geometry attribute.
__hostdev__ bool isValid(GridType gridType, GridClass gridClass)
return true if the combination of GridType and GridClass is valid.
getFileOption("OpenEXR:storage") storage
exint GA_Size
Defines the bit width for index and offset types in GA.
GA_AttributeSet & getAttributes()
GLenum GLint GLint * precision
SYS_FORCE_INLINE bool UTisstring(const char *s)
Container class for all geometry.
SYS_FORCE_INLINE const GA_Attribute * findAttribute(GA_AttributeScope scope, const UT_StringRef &name, const GA_AttributeOwner search_order[], int search_order_size) const