|
NoJobEngine 2.0.7
|
#include <Mesh.h>
Public Member Functions | |
| Mesh (const std::vector< MeshVertex > &vertices, const std::vector< std::uint32_t > &indices) | |
| const std::shared_ptr< VertexArray > & | GetVertexArray () const |
| const std::vector< Submesh > & | GetSubmeshes () const |
| void | SetSubmeshes (std::vector< Submesh > submeshes) |
| bool | HasSkinning () const |
| void | SetHasSkinning (bool value) |
Static Public Member Functions | |
| static std::shared_ptr< Mesh > | CreateCube () |
| static std::shared_ptr< Mesh > | LoadOBJ (const std::filesystem::path &path) |
| static std::shared_ptr< Mesh > | LoadModel (const std::filesystem::path &path) |
| NoJob::Mesh::Mesh | ( | const std::vector< MeshVertex > & | vertices, |
| const std::vector< std::uint32_t > & | indices ) |
Definition at line 17 of file Mesh.cpp.
References NoJob::IndexBuffer::Create(), NoJob::VertexArray::Create(), NoJob::VertexBuffer::Create(), NoJob::Float2, NoJob::Float3, and NoJob::Float4.
|
static |
|
inline |
|
inline |
|
static |
Definition at line 73 of file Mesh.cpp.
References NoJob::MeshVertex::BoneIDs, NoJob::MeshVertex::BoneWeights, NoJob::MeshVertex::Normal, NoJob::MeshVertex::Position, and NoJob::MeshVertex::TexCoord.
Referenced by NoJob::AssetManager::LoadMesh().
|
static |
Definition at line 57 of file Mesh.cpp.
References NoJob::MeshVertex::Normal, NoJob::MeshVertex::Position, and NoJob::MeshVertex::TexCoord.
|
inline |