OpenEnroth 6ec2bbc
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
GraphicsImage Class Reference

#include <Image.h>

Public Member Functions

int width ()
 
int height ()
 
Sizei size ()
 
RgbaImagergba ()
 
const std::string & name ()
 
void release ()
 
TextureRenderId renderId ()
 
void releaseRenderId ()
 

Static Public Member Functions

static GraphicsImageCreate (RgbaImage image)
 
static GraphicsImageCreate (int width, int height)
 
static GraphicsImageCreate (Sizei size)
 
static GraphicsImageCreate (std::unique_ptr< ImageLoader > loader)
 

Private Member Functions

 GraphicsImage ()
 
 ~GraphicsImage ()
 
bool initialize ()
 

Private Attributes

bool _initialized = false
 
std::string _name
 
std::unique_ptr< ImageLoader_loader
 
RgbaImage _rgba
 
TextureRenderId _renderId
 

Constructor & Destructor Documentation

◆ GraphicsImage()

GraphicsImage::GraphicsImage ( )
privatedefault

◆ ~GraphicsImage()

GraphicsImage::~GraphicsImage ( )
privatedefault

Member Function Documentation

◆ Create() [1/4]

GraphicsImage * GraphicsImage::Create ( int  width,
int  height 
)
static

◆ Create() [2/4]

GraphicsImage * GraphicsImage::Create ( RgbaImage  image)
static

◆ Create() [3/4]

GraphicsImage * GraphicsImage::Create ( Sizei  size)
static

◆ Create() [4/4]

GraphicsImage * GraphicsImage::Create ( std::unique_ptr< ImageLoader loader)
static

◆ height()

int GraphicsImage::height ( )

◆ initialize()

bool GraphicsImage::initialize ( )
private

◆ name()

const std::string & GraphicsImage::name ( )

◆ release()

void GraphicsImage::release ( )

◆ releaseRenderId()

void GraphicsImage::releaseRenderId ( )

◆ renderId()

TextureRenderId GraphicsImage::renderId ( )

◆ rgba()

RgbaImage & GraphicsImage::rgba ( )

◆ size()

Sizei GraphicsImage::size ( )

◆ width()

int GraphicsImage::width ( )

Member Data Documentation

◆ _initialized

bool GraphicsImage::_initialized = false
private

◆ _loader

std::unique_ptr<ImageLoader> GraphicsImage::_loader
private

◆ _name

std::string GraphicsImage::_name
private

◆ _renderId

TextureRenderId GraphicsImage::_renderId
private

◆ _rgba

RgbaImage GraphicsImage::_rgba
private

The documentation for this class was generated from the following files: