Lugdunum
0.1.0
|
#include <Mesh.hpp>
Public Member Functions | |
PrimitiveSet ()=default | |
PrimitiveSet (const PrimitiveSet &)=delete | |
PrimitiveSet (PrimitiveSet &&)=default | |
PrimitiveSet & | operator= (const PrimitiveSet &)=delete |
PrimitiveSet & | operator= (PrimitiveSet &&)=delete |
~PrimitiveSet ()=default | |
void | setMode (Render::Mesh::PrimitiveSet::Mode mode) |
void | setMaterial (Resource::SharedPtr< Render::Material > material) |
void | addAttributeBuffer (const void *data, uint32_t elementSize, uint32_t elementsCount, Render::Mesh::PrimitiveSet::Attribute::Type type) |
Render::Mesh::PrimitiveSet::Mode | getMode () const |
Resource::SharedPtr< Render::Material > | getMaterial () const |
const std::vector< Render::Mesh::PrimitiveSet::Attribute > & | getAttributes () const |
Private Attributes | |
Render::Mesh::PrimitiveSet::Mode | _mode {Render::Mesh::PrimitiveSet::Mode::Triangles} |
Resource::SharedPtr< Render::Material > | _material {nullptr} |
std::vector< Render::Mesh::PrimitiveSet::Attribute > | _attributes |
|
default |
|
delete |
|
default |
|
default |
|
delete |
|
delete |
|
inline |
|
inline |
void lug::Graphics::Builder::Mesh::PrimitiveSet::addAttributeBuffer | ( | const void * | data, |
uint32_t | elementSize, | ||
uint32_t | elementsCount, | ||
Render::Mesh::PrimitiveSet::Attribute::Type | type | ||
) |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |