|
NcEngine
|
Component enabling rendering of an Entity with a given mesh and material. More...
#include <Mesh.h>
Public Member Functions | |
| StaticMesh (Entity self, const asset::MeshView &meshAsset, const MaterialDesc &materialDesc) | |
Public Member Functions inherited from nc::MeshBase | |
| MeshBase (Entity self, const asset::MeshView &meshAsset, const MaterialDesc &materialDesc, MeshInstanceType type) | |
| MeshBase (MeshBase &&other) noexcept | |
| MeshBase & | operator= (MeshBase &&other) noexcept |
| MeshBase (const MeshBase &)=delete | |
| MeshBase & | operator= (const MeshBase &)=delete |
| auto | GetEntity () const -> Entity |
| auto | GetContext () const -> const MeshInstanceContext & |
| auto | GetMeshId () const -> uint64_t |
| void | SetMesh (const asset::MeshView &meshAsset) |
| auto | GetMaterial () const -> const MaterialInstance & |
| auto | GetMaterial () -> MaterialInstance & |
| void | SetMaterial (const MaterialDesc &materialDesc) |
Additional Inherited Members | |
Protected Member Functions inherited from nc::MeshBase | |
| ~MeshBase () noexcept | |
Component enabling rendering of an Entity with a given mesh and material.