Cogs.Rendering
Loading...
Searching...
No Matches
Public Attributes | List of all members
Cogs::PackedVertexElement Struct Reference

#include <VertexFormat.h>

Public Attributes

DataFormat format
 Format of the element.
 
ElementSemantic semantic
 Semantic mapping of the element (position, normal, etc...).
 
uint16_t semanticIndex
 Index for the semantic mapping.
 
InputType inputType
 Input type of the element, vertex or instance data.
 
uint16_t instanceStep
 Instance step factor.
 

Member Data Documentation

◆ format

DataFormat Cogs::PackedVertexElement::format

Format of the element.

◆ inputType

InputType Cogs::PackedVertexElement::inputType

Input type of the element, vertex or instance data.

◆ instanceStep

uint16_t Cogs::PackedVertexElement::instanceStep

Instance step factor.

◆ semantic

ElementSemantic Cogs::PackedVertexElement::semantic

Semantic mapping of the element (position, normal, etc...).

◆ semanticIndex

uint16_t Cogs::PackedVertexElement::semanticIndex

Index for the semantic mapping.

Used to differentiate several elements with the same semantic.


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