#include <Image.h>
Inherits MemoryPoolObject.
Image bitmap information
Definition at line 66 of file Image.h.
◆ Image()
◆ clearStatus()
clear status bit
Clear a status bit from the existing status, return the previous status bit collection from before the clear
Definition at line 184 of file Image.cpp.
◆ getFieldParse()
| const FieldParse * Image::getFieldParse |
( |
void | | ) |
const |
|
inline |
◆ getFilename()
return filename
Definition at line 156 of file Image.h.
◆ getImageHeight()
| Int Image::getImageHeight |
( |
void | | ) |
const |
|
inline |
get height
Definition at line 165 of file Image.h.
◆ getImageSize()
| const ICoord2D * Image::getImageSize |
( |
void | | ) |
const |
|
inline |
◆ getImageWidth()
| Int Image::getImageWidth |
( |
void | | ) |
const |
|
inline |
◆ getName()
return name
Definition at line 154 of file Image.h.
◆ getRawTextureData()
| const void * Image::getRawTextureData |
( |
void | | ) |
const |
|
inline |
get raw texture data
Definition at line 167 of file Image.h.
◆ getStatus()
get status bits
Definition at line 168 of file Image.h.
◆ getTextureSize()
| const ICoord2D * Image::getTextureSize |
( |
void | | ) |
const |
|
inline |
return the texture size defined
Definition at line 163 of file Image.h.
◆ getUV()
| const Region2D * Image::getUV |
( |
void | | ) |
const |
|
inline |
get UV coords
Definition at line 158 of file Image.h.
◆ parseImageCoords()
| void Image::parseImageCoords |
( |
INI * | ini, |
|
|
void * | instance, |
|
|
void * | store, |
|
|
const void * | ) |
|
static |
Parse an image coordinates in the form of
COORDS = Left:AAA Top:BBB Right:CCC Bottom:DDD
Definition at line 64 of file Image.cpp.
◆ parseImageStatus()
| void Image::parseImageStatus |
( |
INI * | ini, |
|
|
void * | instance, |
|
|
void * | store, |
|
|
const void * | ) |
|
static |
Parse the image status line
Definition at line 112 of file Image.cpp.
◆ setFilename()
set filename
Definition at line 155 of file Image.h.
◆ setImageSize()
| void Image::setImageSize |
( |
ICoord2D * | size | ) |
|
|
inline |
set image width and height
Definition at line 161 of file Image.h.
◆ setName()
set image name
Definition at line 153 of file Image.h.
◆ setRawTextureData()
| void Image::setRawTextureData |
( |
void * | data | ) |
|
|
inline |
set raw texture data
Definition at line 166 of file Image.h.
◆ setStatus()
set status bit
Set a status bit into the existing status, return the previous status bit collection from before the set
Definition at line 171 of file Image.cpp.
◆ setTextureHeight()
| void Image::setTextureHeight |
( |
Int | height | ) |
|
|
inline |
set height of texture page this image is on
Definition at line 160 of file Image.h.
◆ setTextureWidth()
| void Image::setTextureWidth |
( |
Int | width | ) |
|
|
inline |
set width of texture page this image is on
Definition at line 159 of file Image.h.
◆ setUV()
set UV coord range
Definition at line 157 of file Image.h.
◆ ImageCollection
◆ m_filename
texture filename this image is in
Definition at line 106 of file Image.h.
◆ m_imageFieldParseTable
Initial value:=
{
}
static void parseInt(INI *ini, void *instance, void *store, const void *userData)
static void parseAsciiString(INI *ini, void *instance, void *store, const void *userData)
static void parseImageStatus(INI *ini, void *instance, void *store, const void *)
static void parseImageCoords(INI *ini, void *instance, void *store, const void *)
ICoord2D m_textureSize
size of the texture this image is a part of
Region2D m_UVCoords
texture UV coords for image
AsciiString m_filename
texture filename this image is in
UnsignedInt m_status
status bits from ImageStatus
the parse table for INI definition
Definition at line 45 of file Image.h.
◆ m_imageSize
dimensions of image
Definition at line 109 of file Image.h.
◆ m_name
name for this image
Definition at line 105 of file Image.h.
◆ m_rawTextureData
| void* Image::m_rawTextureData |
|
protected |
raw texture data
Definition at line 110 of file Image.h.
◆ m_status
◆ m_textureSize
size of the texture this image is a part of
Definition at line 107 of file Image.h.
◆ m_UVCoords
texture UV coords for image
Definition at line 108 of file Image.h.
The documentation for this class was generated from the following files:
- Code/GameEngine/Include/GameClient/Image.h
- Code/GameEngine/Source/GameClient/System/Image.cpp