Hymn to Beauty
C++ 3D Engine
Video::VertexDescription::Attribute Struct Reference

Describes an attribute used in a vertex shader. More...

#include <VertexDescription.hpp>

Public Attributes

unsigned int size
 The number of components in the attribute. More...
 
AttributeType type
 The type of each component in the attribute. More...
 
bool normalized
 Whether the values should be normalized when accessed. More...
 

Detailed Description

Describes an attribute used in a vertex shader.

Member Data Documentation

◆ normalized

bool Video::VertexDescription::Attribute::normalized

Whether the values should be normalized when accessed.

◆ size

unsigned int Video::VertexDescription::Attribute::size

The number of components in the attribute.

◆ type

AttributeType Video::VertexDescription::Attribute::type

The type of each component in the attribute.


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