23class VENOM_COMMON_API MeshImpl :
public PluginObjectImpl,
public GraphicsPluginObject
27 virtual ~MeshImpl() =
default;
29 void SetMaterial(
const Material & material);
30 bool HasMaterial()
const;
31 const Material & GetMaterial()
const;
32 virtual void Draw() = 0;
40 virtual vc::Error __LoadMeshFromCurrentData() = 0;
43 friend class ModelImpl;
44 vc::Vector<vcm::VertexPos> _positions;
45 vc::Vector<vcm::VertexNormal> _normals;
46 vc::Vector<vcm::VertexColor> _colors[8];
47 vc::Vector<vcm::VertexUV> _uvs[8];
48 vc::Vector<uint32_t> _indices;
49 vc::Vector<vcm::VertexTangent> _tangents;
50 vc::Vector<vcm::VertexBitangent> _bitangents;