Cogs.Core
Public Member Functions | Public Attributes | List of all members
Cogs::RasterTile Struct Reference

Public Member Functions

int getWidth () const
 
int getHeight () const
 
bool isSet (TileFlags::ETileFlags flag) const
 
bool isOOB () const
 
bool isRequested () const
 
bool isInvalidated () const
 
bool isResident () const
 
void invalidate ()
 
void setValid ()
 
void setRequested ()
 
void unsetRequested ()
 

Public Attributes

RasterTileIdentifier identifier
 
Extent extent
 
struct RasterTileDatadata = nullptr
 
std::atomic< size_t > generation = 1
 
std::atomic< uint32_t > usage = 0
 
std::atomic< uint32_t > flags = TileFlags::None
 

Detailed Description

Definition at line 40 of file RasterTile.h.

Member Function Documentation

◆ getHeight()

int Cogs::RasterTile::getHeight ( ) const
inline

Definition at line 43 of file RasterTile.h.

◆ getWidth()

int Cogs::RasterTile::getWidth ( ) const
inline

Definition at line 42 of file RasterTile.h.

◆ invalidate()

void Cogs::RasterTile::invalidate ( )
inline

Definition at line 52 of file RasterTile.h.

◆ isInvalidated()

bool Cogs::RasterTile::isInvalidated ( ) const
inline

Definition at line 49 of file RasterTile.h.

◆ isOOB()

bool Cogs::RasterTile::isOOB ( ) const
inline

Definition at line 47 of file RasterTile.h.

◆ isRequested()

bool Cogs::RasterTile::isRequested ( ) const
inline

Definition at line 48 of file RasterTile.h.

◆ isResident()

bool Cogs::RasterTile::isResident ( ) const
inline

Definition at line 50 of file RasterTile.h.

◆ isSet()

bool Cogs::RasterTile::isSet ( TileFlags::ETileFlags  flag) const
inline

Definition at line 45 of file RasterTile.h.

◆ setRequested()

void Cogs::RasterTile::setRequested ( )
inline

Definition at line 55 of file RasterTile.h.

◆ setValid()

void Cogs::RasterTile::setValid ( )
inline

Definition at line 53 of file RasterTile.h.

◆ unsetRequested()

void Cogs::RasterTile::unsetRequested ( )
inline

Definition at line 56 of file RasterTile.h.

Member Data Documentation

◆ data

struct RasterTileData* Cogs::RasterTile::data = nullptr

Definition at line 61 of file RasterTile.h.

◆ extent

Extent Cogs::RasterTile::extent

Definition at line 59 of file RasterTile.h.

◆ flags

std::atomic<uint32_t> Cogs::RasterTile::flags = TileFlags::None

Definition at line 65 of file RasterTile.h.

◆ generation

std::atomic<size_t> Cogs::RasterTile::generation = 1

Definition at line 63 of file RasterTile.h.

◆ identifier

RasterTileIdentifier Cogs::RasterTile::identifier

Definition at line 58 of file RasterTile.h.

◆ usage

std::atomic<uint32_t> Cogs::RasterTile::usage = 0

Definition at line 64 of file RasterTile.h.


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