Describes part of a Mesh.
More...
#include <Mesh.hpp>
Describes part of a Mesh.
Definition at line 33 of file Mesh.hpp.
◆ Mode
Type of the primitive set, defaults to Triangles.
Enumerator |
---|
Points | Each vertex defines a separate point.
|
Lines | The first two vertices define the first segment, with subsequent pairs of vertices each defining one more segment.
|
LineStrip | The first vertex specifies the first segment’s start point while the second vertex specifies the first segment’s endpoint and the second segment’s start point.
|
Triangles | |
TriangleStrip | |
TriangleFan | |
Definition at line 59 of file Mesh.hpp.
◆ Triangles
◆ attributes
std::vector<Attribute> lug::Graphics::Render::Mesh::PrimitiveSet::attributes {} |
◆ indices
Attribute* lug::Graphics::Render::Mesh::PrimitiveSet::indices {nullptr} |
◆ position
Attribute* lug::Graphics::Render::Mesh::PrimitiveSet::position {nullptr} |
◆ normal
Attribute* lug::Graphics::Render::Mesh::PrimitiveSet::normal {nullptr} |
◆ texCoords
std::vector<Attribute*> lug::Graphics::Render::Mesh::PrimitiveSet::texCoords {} |
◆ colors
std::vector<Attribute*> lug::Graphics::Render::Mesh::PrimitiveSet::colors {} |
◆ tangent
Attribute* lug::Graphics::Render::Mesh::PrimitiveSet::tangent {nullptr} |
◆ material
◆ _data
void* lug::Graphics::Render::Mesh::PrimitiveSet::_data {nullptr} |
The documentation for this struct was generated from the following file: