11 #ifndef GR_PrimAgents_h
12 #define GR_PrimAgents_h
36 const char *
className()
const override {
return "GR_PrimAgents"; }
43 bool first_init)
override;
62 unsigned int pickmask,
64 bool has_pick_map)
override;
72 static void cleanupShaders();
120 int myLastTransformSerial;
122 unsigned myLastHullDisplay : 1,
139 int64 myBoneVisibleHash;
virtual void render(RE_RenderContext r, GR_RenderMode render_mode, GR_RenderFlags flags, GR_DrawParms dp)=0
Set of parameters sent to GR_Primitive::viewUpdate().
SIM_API const UT_StringHolder agent
A collection of vertex arrays defining a geometry object. This class acts as a wrapper around multipl...
GT_API const UT_StringHolder cache_name
Object that represents drawable geometry. This object holds vertex, instancing and index buffers for ...
Contains a list of agents which share the same rig.
Temporary container for either a RV_Render and an RE_Render.
virtual void viewUpdate(RE_RenderContext r, const GR_ViewUpdateParms &parms)
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
set of parameters sent to GR_Primitive::update()
virtual int renderPick(RE_RenderContext r, const GR_DisplayOption *opt, unsigned int pick_type, GR_PickStyle pick_style, bool has_pick_map)=0
virtual void renderDecoration(RE_RenderContext r, GR_Decoration decor, const GR_DecorationParms &parms)
Handle to the main interface of Vulkan.
GT_API const UT_StringHolder version
virtual GR_PrimAcceptResult acceptPrimitive(GT_PrimitiveType t, int geo_type, const GT_PrimitiveHandle &ph, const GEO_Primitive *prim)=0
const char * className() const override
Return a string version of this class's name.
bool updateOnViewChange(const GR_DisplayOption &) const override
If this primitive requires an update when the view changes, return true.
virtual void update(RE_RenderContext r, const GT_PrimitiveHandle &primh, const GR_UpdateParms &p)=0
Simple class for a mutli-integer cache tag.
virtual GR_DispOptChange displayOptionChange(const GR_DisplayOption &opts, bool first_init)