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

#include <DataFormat.h>

Public Attributes

uint8_t blockSize = 0
 Bytesize of one block of data.
 
TextureExtent blockExtent
 Number of data items in a block.
 
uint16_t elements = 0
 Number of channels in a data item.
 
const char * name = nullptr
 Name as a color format (using RGBA as channels).
 
const char * vName = nullptr
 Name as a vertex format (using XYZW as channels).
 
FormatFlags flags = FormatFlags::None
 See FormatFlags.
 

Member Data Documentation

◆ blockExtent

TextureExtent Cogs::FormatInfo::blockExtent

Number of data items in a block.

Referenced by Cogs::getBlockExtent().

◆ blockSize

uint8_t Cogs::FormatInfo::blockSize = 0

Bytesize of one block of data.

Referenced by Cogs::VertexFormats::createVertexFormat(), and Cogs::getBlockSize().

◆ elements

uint16_t Cogs::FormatInfo::elements = 0

Number of channels in a data item.

Referenced by Cogs::getComponents().

◆ flags

FormatFlags Cogs::FormatInfo::flags = FormatFlags::None

◆ name

const char* Cogs::FormatInfo::name = nullptr

Name as a color format (using RGBA as channels).

◆ vName

const char* Cogs::FormatInfo::vName = nullptr

Name as a vertex format (using XYZW as channels).


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