Cogs.Core
Public Attributes | List of all members
Cogs::PackedVertexElement Struct Reference

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.
 

Detailed Description

Definition at line 47 of file VertexFormat.h.

Member Data Documentation

◆ format

DataFormat Cogs::PackedVertexElement::format

Format of the element.

Definition at line 49 of file VertexFormat.h.

◆ inputType

InputType Cogs::PackedVertexElement::inputType

Input type of the element, vertex or instance data.

Definition at line 52 of file VertexFormat.h.

◆ instanceStep

uint16_t Cogs::PackedVertexElement::instanceStep

Instance step factor.

Definition at line 53 of file VertexFormat.h.

◆ semantic

ElementSemantic Cogs::PackedVertexElement::semantic

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

Definition at line 50 of file VertexFormat.h.

◆ semanticIndex

uint16_t Cogs::PackedVertexElement::semanticIndex

Index for the semantic mapping.

Used to differentiate several elements with the same semantic.

Definition at line 51 of file VertexFormat.h.


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