1#ifndef RAYLIB_CPP_INCLUDE_MESH_HPP_
2#define RAYLIB_CPP_INCLUDE_MESH_HPP_
9#include "./raylib-cpp-utils.hpp"
10#include "./BoundingBox.hpp"
11#include "./MeshUnmanaged.hpp"
12#include "./Vector3.hpp"
43 other.vertexCount = 0;
44 other.triangleCount = 0;
45 other.vertices =
nullptr;
46 other.texcoords =
nullptr;
47 other.texcoords2 =
nullptr;
48 other.normals =
nullptr;
49 other.tangents =
nullptr;
50 other.colors =
nullptr;
51 other.indices =
nullptr;
52 other.animVertices =
nullptr;
53 other.animNormals =
nullptr;
54 other.boneIds =
nullptr;
55 other.boneWeights =
nullptr;
57 other.vboId =
nullptr;
68 other.vertexCount = 0;
69 other.triangleCount = 0;
70 other.vertices =
nullptr;
71 other.texcoords =
nullptr;
72 other.texcoords2 =
nullptr;
73 other.normals =
nullptr;
74 other.tangents =
nullptr;
75 other.colors =
nullptr;
76 other.indices =
nullptr;
77 other.animVertices =
nullptr;
78 other.animNormals =
nullptr;
79 other.boneIds =
nullptr;
80 other.boneWeights =
nullptr;
82 other.vboId =
nullptr;
Vertex data defining a mesh.
Mesh(const Mesh &)=delete
Explicitly forbid the copy constructor.
Mesh & operator=(const Mesh &)=delete
Explicitly forbid copy assignment.
Mesh(Mesh &&other)
Move constructor.
Vertex data defining a mesh, not managed by C++ RAII.
MeshUnmanaged()
Default texture constructor.
void Unload()
Unload mesh from memory (RAM and/or VRAM)