4#include "math/GLMath.hpp"
5#include "io/Serializable.h"
7#include "MeshData.generated.h"
9namespace ne RNAMESPACE() {
71 bool operator==(const
MeshVertex& other) const;
76 glm::vec3
position = glm::vec3(0.0f, 0.0f, 0.0f);
79 glm::vec3
normal = glm::vec3(0.0f, 0.0f, 0.0f);
82 glm::vec2
uv = glm::vec2(0.0f, 0.0f);
136 std::vector<std::vector<
meshindex_t>>* getIndices();
153 ne_MeshData_GENERATED
157File_MeshData_GENERATED
Definition: GpuResource.h:16
Definition: GuidProperty.h:30
Definition: MeshData.h:93
MeshData(const MeshData &)=default
MeshData & operator=(const MeshData &)=default
unsigned int meshindex_t
Definition: MeshData.h:96
MeshData(MeshData &&) noexcept=default
Definition: Serializable.h:113
Definition: SerializeProperty.h:42
Definition: MeshData.h:13
MeshIndexBufferInfo()=default
MeshIndexBufferInfo(GpuResource *pIndexBuffer, unsigned int iIndexCount)
Definition: MeshData.h:23
GpuResource * pIndexBuffer
Definition: MeshData.h:29
unsigned int iIndexCount
Definition: MeshData.h:32
Definition: MeshData.h:40
glm::vec3 normal
Definition: MeshData.h:79
glm::vec2 uv
Definition: MeshData.h:82
MeshVertex(MeshVertex &&) noexcept=default
MeshVertex & operator=(const MeshVertex &)=default
glm::vec3 position
Definition: MeshData.h:76
MeshVertex(const MeshVertex &)=default