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

Vertex format structure used to describe a single vertex for the input assembler. More...

#include <VertexFormat.h>

Public Attributes

std::vector< VertexElementelements
 Vector containing all vertex elements of this format.
 
size_t hash = 0
 Hash code of the vertex format.
 
uint32_t size = 0
 Calculated size of the vertex format.
 

Detailed Description

Vertex format structure used to describe a single vertex for the input assembler.

A vertex consists of a set of elements.

Definition at line 59 of file VertexFormat.h.

Member Data Documentation

◆ elements

std::vector<VertexElement> Cogs::VertexFormat::elements

◆ hash

size_t Cogs::VertexFormat::hash = 0

Hash code of the vertex format.

Definition at line 65 of file VertexFormat.h.

◆ size

uint32_t Cogs::VertexFormat::size = 0

Calculated size of the vertex format.

Definition at line 68 of file VertexFormat.h.


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