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

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.
 

Detailed Description

Definition at line 255 of file DataFormat.h.

Member Data Documentation

◆ blockExtent

TextureExtent Cogs::FormatInfo::blockExtent

Number of data items in a block.

Definition at line 258 of file DataFormat.h.

◆ blockSize

uint8_t Cogs::FormatInfo::blockSize = 0

Bytesize of one block of data.

Definition at line 257 of file DataFormat.h.

Referenced by Cogs::ContextGLES30::readColorBuffer().

◆ elements

uint16_t Cogs::FormatInfo::elements = 0

Number of channels in a data item.

Definition at line 259 of file DataFormat.h.

Referenced by Cogs::Core::TextureManager::loadExternalTexture().

◆ flags

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

See FormatFlags.

Definition at line 262 of file DataFormat.h.

◆ name

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

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

Definition at line 260 of file DataFormat.h.

Referenced by Cogs::TexturesD3D11::loadTexture(), and Cogs::TexturesGL20::loadTexture().

◆ vName

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

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

Definition at line 261 of file DataFormat.h.

Referenced by Cogs::Core::MeshStreamsLayout::logLayout().


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