11 #ifndef GR_PolySurfaceVK_h
12 #define GR_PolySurfaceVK_h
32 const char *
className()
const override {
return "GR_PolySurfaceVK"; }
36 int &out_connect_start,
37 int &out_connect_num)
override;
42 PrimitiveType prim_type,
45 int &out_connect_start,
46 int &out_connect_num)
override;
60 {
return myHasAlpha || myHasBlendedMaterial; }
63 static void cleanupShaders();
94 void buildWireframeConnectivity(
99 bool target_vert =
false);
101 void buildUVBoundaryConnectivity(
146 int myMaterialID = -1;
147 bool myHasTangents =
false;
148 bool myWindingOrder =
false;
149 bool myAutoGenNormal =
false;
150 bool myIsFlattened =
false;
151 bool myHasCd =
false;
152 bool myHasAlpha =
false;
153 bool myHasBlendedMaterial =
false;
154 bool myHasNormalOffsets =
false;
155 int myNumBlendShapes = 0;
156 int myBlendShapeVertexCount = 0;
157 int myNumBoneTransforms = 0;
159 int64 myTopVersion = 0;
160 int64 myPointVer = 0;
162 gr_SetCache myBoneBlendSet;
166 bool myIsMatXMaterial =
false;
const char * className() const override
virtual void draw(RE_RenderContext r, GR_RenderMode mode, GR_RenderFlags flags, GR_DrawParms draw_parms)=0
Normal drawing method. Only issue rendering commands.
const GT_PrimitiveHandle & getMesh() const
virtual void getVkDecorGeometry(GR_DecorationRender::PrimitiveType prim_type, RV_PrimType render_prim, RV_Geometry &geo, int &out_connect_start, int &out_connect_num)
GT_API const UT_StringHolder cache_name
Object that represents drawable geometry. This object holds vertex, instancing and index buffers for ...
GLboolean GLboolean GLboolean GLboolean a
Temporary container for either a RV_Render and an RE_Render.
virtual RV_Geometry * getVkPickGeometry(unsigned int pick_mode)
virtual exint getNumGLPrimitives() const =0
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()
Handle to the main interface of Vulkan.
const GT_PrimitiveHandle & getConvexedMesh() const
virtual void getPickConnectGroup(unsigned int pick_mode, GR_PickGeometry pick_geo, int &out_connect_start, int &out_connect_num)
bool hasTransparency() const override
returns true if this drawable renders some transparent elements
An array of numeric values (int32, int64, fpreal16, fpreal32, fpreal64)
virtual void update(RE_RenderContext r, const GT_PrimitiveHandle &primh, const GR_UpdateParms &p, const char *cache_name)=0