CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::TextureAtlasUtility::Element Struct Reference

Represents a single element used as in input to TextureAtlasUtility. More...

#include <CeresEngine/Texture/TextureAtlasLayout.hpp>

Public Attributes

struct { 
 
   UInt32   width 
 
   UInt32   height 
 
input 
 
struct { 
 
   UInt32   x 
 
   UInt32   y 
 
   UInt32   idx 
 
   Int32   page 
 
output 
 

Detailed Description

Represents a single element used as in input to TextureAtlasUtility.

Usually represents a single texture.

Note
input is required to be filled in before passing it to TextureAtlasUtility.
output will be filled after a call to TextureAtlasUtility::createAtlasLayout().

Member Data Documentation

◆ height

UInt32 CeresEngine::TextureAtlasUtility::Element::height

◆ idx

UInt32 CeresEngine::TextureAtlasUtility::Element::idx

◆ [struct]

struct { ... } CeresEngine::TextureAtlasUtility::Element::input

◆ [struct]

struct { ... } CeresEngine::TextureAtlasUtility::Element::output

◆ page

Int32 CeresEngine::TextureAtlasUtility::Element::page

◆ width

UInt32 CeresEngine::TextureAtlasUtility::Element::width

◆ x

UInt32 CeresEngine::TextureAtlasUtility::Element::x

◆ y

UInt32 CeresEngine::TextureAtlasUtility::Element::y

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