7 #ifndef GUSD_ATTRIBLISTSBUILDER_H
8 #define GUSD_ATTRIBLISTSBUILDER_H
30 void enablePointAttribs(
exint num_points);
34 void enableVertexAttribs(
exint num_vertices);
38 void enableUniformAttribs(
exint num_uniform);
41 void enableDetailAttribs();
48 myPromoteConstantAttribs = owner;
81 void enable(
exint min_entries);
83 bool isEnabled()
const {
return myEnabled; }
84 exint getMinEntries()
const {
return myMinEntries; }
91 bool myEnabled =
false;
92 exint myMinEntries = 0;
97 ListBuilder myPointAttribs;
98 ListBuilder myVertexAttribs;
99 ListBuilder myUniformAttribs;
100 ListBuilder myDetailAttribs;
void setPromoteConstantAttribs(GT_Owner owner)
#define PXR_NAMESPACE_OPEN_SCOPE
Utility for efficiently building the GT_AttributeList for each owner type.
#define PXR_NAMESPACE_CLOSE_SCOPE
ImageBuf OIIO_API add(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)