|
| GR_GeoRenderVK (GR_Primitive *parent_prim) |
|
| ~GR_GeoRenderVK () override |
|
RV_Geometry * | createGeometryVK (exint num_points) |
|
RE_Geometry * | getGeometry () override |
|
RV_Geometry * | getVkGeometry () override |
|
virtual void | getVkDecorGeometry (GR_DecorationRender::PrimitiveType prim_type, RV_PrimType render_prim, RV_Geometry &geo, int &out_connect_start, int &out_connect_num) |
|
void | fillAttributesVK (RV_Render *r, const GT_Primitive *prim, const GR_UpdateParms &p, RV_Geometry *geo, GR_FillAttributesVK *attrib_fill, bool needs_nml, bool needs_uv, bool needs_tangent, bool need_prim_vert_info, const GT_DataArrayHandle &point_norm) |
|
void | buildPointID (RV_Render *r, const GR_DisplayOption &dopts, RV_Geometry *rv_geo, GR_FillAttributesVK *attrib_fill, const GT_Primitive &prim, const GU_ConstDetailHandle &geo, const RE_CacheVersion &ver) |
|
bool | buildInstanceObjectAttrib (RV_Render *r, const GT_PrimitiveHandle &h, const GR_UpdateParms &p, RV_Geometry *geo, GR_FillAttributesVK *attrib_fill, const UT_Matrix4DArray *instance_trans, const RE_CacheVersion &instance_version, int instance_group, UT_Matrix4D *out_transform) |
|
void | addExternalAttribArray (RV_Render *r, RV_Geometry *geo, GR_FillAttributesVK *attrib_fill, const char *attrib_name, RV_AttributeType array_type, const GT_DataArrayHandle &dh, const GR_DisplayOption &opts, bool fill_immediately) |
|
void | addInstAttribArray (RV_Render *r, RV_Geometry *geo, GR_FillAttributesVK *attrib_fill, const char *attrib_name, int inst_group, RV_AttributeType array_type, const GT_DataArrayHandle &dh, const GR_DisplayOption &opts, const RE_CacheVersion &geo_ver, const gr_FillType &fill_type) |
|
void | cleanupGeoOverride (RV_Render *r, const GR_DisplayOption *opt, RV_Geometry *geo) |
|
void | setupGeoOverride (RV_Render *r, const GR_DisplayOption *opt, RV_Geometry *geo, UT_UniquePtr< RV_OverrideList > &override_list) |
|
void | setupGeoOverride (RV_Render *r, const GR_DisplayOption *opt, RV_Geometry *geo, UT_SharedPtr< RV_OverrideList > &override_list) |
|
void | updateWireColor (RV_Render *r, GR_Uniforms *u, RV_Geometry *geo, const GR_DisplayOption *opt, bool allow_color_override, RV_OverrideList &overrides) const |
|
void | updateWireOverColor (RV_Render *r, GR_Uniforms *u, RV_Geometry *geo, const GR_DisplayOption *opt, bool allow_color_override, RV_OverrideList &overrides) const |
|
GR_FillAttributesVKPtr | createFillTask (RV_Render *r, GR_GeoRenderVK *gr, const GT_Primitive *prim, const GU_Detail *geo, const GR_DisplayOption *opts, int num_points) |
|
void | runFillTask (RV_Render *r, RV_Geometry *geo, GR_FillAttributesVK *attrib_fill) |
|
void | updateInstanceGroupBuffer (const GR_InstanceBuffer *buffer, int instance_group) |
|
| GR_GeoRender (GR_Primitive *parent_prim, RenderType type) |
|
virtual | ~GR_GeoRender () |
|
virtual const char * | className () const =0 |
|
bool | isGL () const |
|
bool | isVulkan () const |
|
virtual void | update (RE_RenderContext r, const GT_PrimitiveHandle &primh, const GR_UpdateParms &p, const char *cache_name)=0 |
|
virtual void | viewUpdate (RE_RenderContext r, const GR_DisplayOption &opts, const char *cache_name, RE_CacheVersion geo_version, RE_CacheVersion select_version) |
|
virtual void | draw (RE_RenderContext r, GR_RenderMode mode, GR_RenderFlags flags, GR_DrawParms draw_parms)=0 |
| Normal drawing method. Only issue rendering commands. More...
|
|
virtual bool | supportsInstances () const |
| By default, no instanced drawing support. More...
|
|
virtual bool | isConvexed () const |
|
virtual void | geometryUpdated (RE_RenderContext) |
|
virtual void | retireGeometry () |
|
virtual bool | hasTransparency () const |
| returns true if this drawable renders some transparent elements More...
|
|
virtual exint | getNumGLPrimitives () const =0 |
|
virtual void | getPickConnectGroup (unsigned int pick_mode, GR_PickGeometry pick_geo, int &out_connect_start, int &out_connect_num) |
|
void | getPickConnectGroup (unsigned int pick_mode, GR_PickGeometry pick_geo, int &out_connect_start, int &out_connect_num, int &out_connect_end) |
|
virtual RV_Geometry * | getVkPickGeometry (unsigned int pick_mode) |
|
bool | showSelections () const |
|
GR_RenderVersion | getRenderVersion () const |
|
void | allowGeoOverride (bool allow_overrides) |
|
virtual bool | canFrustumCull () |
|
bool | inViewFrustum (const UT_Matrix4D &objviewproj, const UT_BoundingBoxD *bbox) |
|
bool | isRasterizedInView (const UT_Matrix4F &objviewproj, const UT_Vector2F &min_proj_size, const UT_BoundingBoxF *bbox=nullptr) |
|
GR_BasePrimType | getParentType () const |
|
RenderType | getRenderType () const |
|
void | buildInformation (bool prim_id, bool point_id) |
|
bool | shouldBuildPrimID () const |
|
bool | shouldBuildPointID () const |
|
void | setSelectionMask (GR_AttribMask selection_mask) |
|
GR_AttribMask | getSelectionMask () const |
|
void | setSelectionDisplayMode (GR_SelectMode m) |
|
GR_SelectMode | getSelectionDisplayMode () const |
|
void | setSelectionInstance (int i) |
|
int | getSelectionInstance () const |
|
void | setMaterialOverride (int mat_index) |
|
void | clearMaterialOverride () |
|
bool | getDetailPrimID (int &id) const |
|
void | addUpdateMessage (GR_ErrorManager::Source err_source, GR_ErrorCode gr_code, UT_StringHolder extra_text=UT_StringHolder(), UT_StringHolder src_name=UT_StringHolder()) |
|
void | addUpdateWarning (GR_ErrorManager::Source err_source, GR_ErrorCode gr_code, UT_StringHolder extra_text=UT_StringHolder(), UT_StringHolder src_name=UT_StringHolder()) |
|
void | addUpdateError (GR_ErrorManager::Source err_source, GR_ErrorCode gr_code, UT_StringHolder extra_text=UT_StringHolder(), UT_StringHolder src_name=UT_StringHolder()) |
|
void | addUpdateFatal (GR_ErrorManager::Source err_source, GR_ErrorCode gr_code, UT_StringHolder extra_text=UT_StringHolder(), UT_StringHolder src_name=UT_StringHolder()) |
|
void | addRedrawMessage (GR_ErrorManager::Source err_source, GR_ErrorCode gr_code, UT_StringHolder extra_text=UT_StringHolder(), UT_StringHolder src_name=UT_StringHolder()) |
|
void | addRedrawWarning (GR_ErrorManager::Source err_source, GR_ErrorCode gr_code, UT_StringHolder extra_text=UT_StringHolder(), UT_StringHolder src_name=UT_StringHolder()) |
|
void | addRedrawError (GR_ErrorManager::Source err_source, GR_ErrorCode gr_code, UT_StringHolder extra_text=UT_StringHolder(), UT_StringHolder src_name=UT_StringHolder()) |
|
void | addRedrawFatal (GR_ErrorManager::Source err_source, GR_ErrorCode gr_code, UT_StringHolder extra_text=UT_StringHolder(), UT_StringHolder src_name=UT_StringHolder()) |
|
GT_DataArrayHandle | buildPointIDData (const GT_Primitive &prim, const GU_ConstDetailHandle &geo, int npoints) |
|
GT_DataArrayHandle | buildPrimitiveIDData (const GT_Primitive &prim, const GU_ConstDetailHandle &geo) |
|
void | setGeoBounds (const UT_BoundingBox &b) |
|
const UT_BoundingBoxD & | getGeoBounds () const |
|
Definition at line 63 of file GR_GeoRenderVK.h.