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

Public Attributes

glm::ivec2 offset
 Indices of the grid cell with smallest indices.
 
glm::uvec2 size
 Size of grid.
 
uint32_t tileScale
 1 << level.
 
uint32_t level
 Base level.
 
uint32_t maxLevel
 Maximum level.
 

Detailed Description

Definition at line 16 of file TexAtlasSystem.h.

Member Data Documentation

◆ level

uint32_t Cogs::Core::TexAtlas::Layout::level

Base level.

Definition at line 21 of file TexAtlasSystem.h.

Referenced by Cogs::Core::TexAtlasSystem::update().

◆ maxLevel

uint32_t Cogs::Core::TexAtlas::Layout::maxLevel

Maximum level.

Definition at line 22 of file TexAtlasSystem.h.

Referenced by Cogs::Core::TexAtlasSystem::update().

◆ offset

glm::ivec2 Cogs::Core::TexAtlas::Layout::offset

Indices of the grid cell with smallest indices.

Definition at line 18 of file TexAtlasSystem.h.

Referenced by Cogs::Core::TexAtlasSystem::update().

◆ size

glm::uvec2 Cogs::Core::TexAtlas::Layout::size

Size of grid.

Definition at line 19 of file TexAtlasSystem.h.

Referenced by Cogs::Core::TexAtlasSystem::update().

◆ tileScale

uint32_t Cogs::Core::TexAtlas::Layout::tileScale

1 << level.

Definition at line 20 of file TexAtlasSystem.h.


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