Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::DynamicAtlasManager::Region Struct Reference

Structure representing a rectangular region in the atlas. More...

#include <DynamicAtlasManager.hpp>

Public Member Functions

bool IsEmpty () const
 Checks if the region is empty (width or height is zero).
 

Public Attributes

Uint32 x = 0
 x coordinate of the top-left corner of the region
 
Uint32 y = 0
 y coordinate of the top-left corner of the region
 
Uint32 width = 0
 width of the region
 
Uint32 height = 0
 height of the region
 

Detailed Description

Structure representing a rectangular region in the atlas.