12 #ifndef GR_GeoRenderGL_H
13 #define GR_GeoRenderGL_H
36 int instance_group = -1,
37 const char *attrib_name = NULL,
48 int &out_connect_start,
49 int &out_connect_num)
override;
54 void setupGeoOverride(
59 void cleanupGeoOverride(
67 const char *attrib_name,
80 bool need_prim_vert_info,
86 bool *has_detail_prim_id =
nullptr,
87 int *detail_prim_id =
nullptr,
88 int *num_bone_deform =
nullptr);
123 bool use_vertex_for_point_select,
166 bool need_prim_vert_info,
174 bool supports_outline =
false)
const;
177 virtual void cleanupSelection(
RE_Render *
r,
int key)
const;
183 int num_draw_idx = 1)
const;
GR_SelectMode addToEdgeSelection(const UT_Span< T > &out_select, const GU_Detail &geo, const GT_DataArrayHandle &vt, const GT_DataArrayHandle &vert_list, const GA_EdgeGroup *edgesel, bool &init)
A collection of vertex arrays defining a geometry object. This class acts as a wrapper around multipl...
GR_SelectMode addToPrimSelection(const UT_Span< uint8 > &out_select, const GT_DataArrayHandle &vh, const GA_PrimitiveGroup *primsel, bool &init)
GLuint GLsizei GLsizei * length
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()
vint4 select(const vbool4 &mask, const vint4 &a, const vint4 &b)
GR_API GR_SelectMode buildSelection(UT_Array< uint8 > &selected, const GR_UpdateParms &p, GT_DataArrayHandle prim_id, GT_DataArrayHandle pnt_id, GT_DataArrayHandle vert_id, bool is_offset, int repeat_count)
The base class for all GT primitive types.
GR_SelectMode addToPointSelection(const UT_Span< T > &out_select, const GU_Detail &geo, const GT_DataArrayHandle &vh, const GT_DataArrayHandle &vl, const GA_PointGroup *pntsel, bool use_vertex_for_point_select, bool &init)
RE_Geometry * getGeometry() override
virtual void retireGeometry()
virtual void getPickConnectGroup(unsigned int pick_mode, GR_PickGeometry pick_geo, int &out_connect_start, int &out_connect_num)
GLfloat GLfloat GLfloat GLfloat h
Simple class for a mutli-integer cache tag.
GR_SelectMode addToVertexSelection(const UT_Span< uint8 > &out_select, const GU_Detail &geo, const GT_DataArrayHandle &vh, const GA_VertexGroup *vertsel, bool &init)