14 #ifndef GR_UpdateParms_h
15 #define GR_UpdateParms_h
66 unsigned force_wire:1,
72 build_prim_selection:1,
73 build_point_selection:1,
74 build_vertex_selection:1,
75 build_edge_selection:1,
76 build_bpoint_selection:1,
85 const char *view_name,
86 int max_poly_mesh_size,
110 {
return myNeededAttribs; }
114 return myAttribsCopied ? myNeededAttribs :
nullptr;
116 void copyNeededAttribs(
bool only_if_shallow_ref);
122 void clearNeededAttribs();
124 void printNeededAttribs(std::ostream *os =
nullptr)
const;
126 bool myAttribsCopied;
GR_ViewUpdateParms(const GR_DisplayOption &opt, const GU_ConstDetailHandle &geo, RE_CacheVersion geov, RE_CacheVersion selv, RE_CacheVersion viewv, const GR_FrustumList &frustums)
const GR_FrustumList & visible_frustums
Set of parameters sent to GR_Primitive::viewUpdate().
UT_Map< UT_StringRef, int > * getNeededAttribs()
GU_ConstDetailHandle geometry
RE_CacheVersion geo_version
const RE_MaterialAtlas & material_atlas
const GT_RefineParms & refine_parms
RE_CacheVersion select_version
const GR_DisplayOption & dopts
RE_CacheVersion view_version
RE_CacheVersion instance_version
A class that manages material assignments to different groups of primitives.
set of parameters sent to GR_Primitive::update()
GR_RenderVersion gl_version
const GR_DisplayOption & dopts
RE_CacheVersion geo_version
const UT_BitArray * inst_select
const UT_Map< UT_StringRef, int > * getConstNeededAttribs() const
RE_CacheVersion view_version
UT_SharedPtr< GU_Selection > GU_SelectionHandle
RE_CacheVersion select_version
const GR_FrustumList & visible_frustums
GU_ConstDetailHandle geometry
const UT_IntArray & geo_indices
GR_DecorationOverride required_dec
Simple class for a mutli-integer cache tag.
const UT_IntArray * instance_levels
const GR_MaterialGroups * extra_mat_groups
RE_CacheVersion inst_select_version
GU_SelectionHandle sel_override
const UT_Matrix4DArray * instances