yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gfx::TextureAtlas::AtlasStats Struct Reference

Get atlas utilization statistics. More...

#include <texture_atlas.h>

Public Attributes

int total_regions = 0
 
int used_regions = 0
 
int total_pixels = 0
 
int used_pixels = 0
 
float utilization = 0.0f
 

Detailed Description

Get atlas utilization statistics.

Definition at line 120 of file texture_atlas.h.

Member Data Documentation

◆ total_regions

int yaze::gfx::TextureAtlas::AtlasStats::total_regions = 0

Definition at line 121 of file texture_atlas.h.

Referenced by yaze::gfx::TextureAtlas::GetStats().

◆ used_regions

int yaze::gfx::TextureAtlas::AtlasStats::used_regions = 0

Definition at line 122 of file texture_atlas.h.

Referenced by yaze::gfx::TextureAtlas::GetStats().

◆ total_pixels

int yaze::gfx::TextureAtlas::AtlasStats::total_pixels = 0

Definition at line 123 of file texture_atlas.h.

Referenced by yaze::gfx::TextureAtlas::GetStats().

◆ used_pixels

int yaze::gfx::TextureAtlas::AtlasStats::used_pixels = 0

Definition at line 124 of file texture_atlas.h.

Referenced by yaze::gfx::TextureAtlas::GetStats().

◆ utilization

float yaze::gfx::TextureAtlas::AtlasStats::utilization = 0.0f

Definition at line 125 of file texture_atlas.h.

Referenced by yaze::gfx::TextureAtlas::GetStats().


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