14 #ifndef GR_UpdateParms_h
15 #define GR_UpdateParms_h
69 unsigned force_wire:1,
75 build_prim_selection:1,
76 build_point_selection:1,
77 build_vertex_selection:1,
78 build_edge_selection:1,
79 build_bpoint_selection:1,
89 const char *view_name,
90 int max_poly_mesh_size,
118 {
return myNeededAttribs; }
122 return myAttribsCopied ? myNeededAttribs :
nullptr;
124 void copyNeededAttribs(
bool only_if_shallow_ref);
130 void clearNeededAttribs();
132 void printNeededAttribs(std::ostream *os =
nullptr)
const;
134 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.
const GR_MaterialAtlas & vk_mat_atlas
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