Lugdunum  0.1.0
Classes | Public Types | Public Attributes | List of all members
lug::Graphics::Render::Mesh::PrimitiveSet::Attribute Struct Reference

#include <Mesh.hpp>

Collaboration diagram for lug::Graphics::Render::Mesh::PrimitiveSet::Attribute:
[legend]

Classes

struct  Buffer
 Access to the data of the attribute. More...
 

Public Types

enum  Type : uint8_t {
  Type::Indice, Type::Position, Type::Normal, Type::TexCoord,
  Type::Tangent, Type::Color
}
 

Public Attributes

enum lug::Graphics::Render::Mesh::PrimitiveSet::Attribute::Type type
 
struct lug::Graphics::Render::Mesh::PrimitiveSet::Attribute::Buffer buffer
 
void * _data {nullptr}
 

Detailed Description

Definition at line 34 of file Mesh.hpp.

Member Enumeration Documentation

◆ Type

Enumerator
Indice 

Indices (UNSIGNED_SHORT)

Position 

Position (VEC3<FLOAT>)

Normal 

Normal (VEC3<FLOAT>)

TexCoord 

UV (VEC2<FLOAT>)

Tangent 

Tangent (VEC4<FLOAT> w component is a sign value (-1 or +1) indicating handedness of the tangent basis)

Color 

Color (VEC4<FLOAT>)

Definition at line 35 of file Mesh.hpp.

Member Data Documentation

◆ type

enum lug::Graphics::Render::Mesh::PrimitiveSet::Attribute::Type lug::Graphics::Render::Mesh::PrimitiveSet::Attribute::type

◆ buffer

struct lug::Graphics::Render::Mesh::PrimitiveSet::Attribute::Buffer lug::Graphics::Render::Mesh::PrimitiveSet::Attribute::buffer

◆ _data

void* lug::Graphics::Render::Mesh::PrimitiveSet::Attribute::_data {nullptr}

Definition at line 53 of file Mesh.hpp.


The documentation for this struct was generated from the following file: