Gwork: 0.3.0Dev
Gwk::Texture Struct Reference

Public Types

enum  Status {
  Status::Unloaded, Status::Loaded, Status::ErrorFileNotFound, Status::ErrorBadData,
  MaxStatus
}
 Status of load operation. More...
 
typedef std::list< Texture * > List
 

Public Member Functions

bool IsLoaded () const
 

Public Attributes

Status status
 
String name
 
int width
 
int height
 
bool readable
 
void * data
 
void * surface
 

Member Enumeration Documentation

◆ Status

enum Gwk::Texture::Status
strong

Status of load operation.

Enumerator
Unloaded 

As yet, unloaded.

Loaded 

Loaded successful.

ErrorFileNotFound 

File requested was not found.

ErrorBadData 

Resource was bad data.


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