The interface for common texture handling.
More...
The interface for common texture handling.
Definition at line 132 of file gfxlibinterfaces.h.
◆ tTextureMode
The enumeration shows the texture modes.
Enumerator |
---|
MODE_BilinearFiltered | bi linear filtered.
|
MODE_NearestPixel | nearest pixel mode.
|
Definition at line 136 of file gfxlibinterfaces.h.
◆ Copy()
virtual tResult Copy |
( |
IImage * |
pSource | ) |
|
|
pure virtual |
Fills the texture using a IImage.
- Parameters
-
- Returns
- The standard result code.
◆ GetBitsPerPixel()
virtual tInt GetBitsPerPixel |
( |
| ) |
const |
|
pure virtual |
Gets the number of bits per line of a texture.
- Returns
- The /// Gets the height of a texture.
◆ GetHeight()
virtual tInt GetHeight |
( |
| ) |
const |
|
pure virtual |
Gets the height of a texture (in pixel).
- Returns
- The height of the Texture.
◆ GetPhysicalHeight()
virtual tInt GetPhysicalHeight |
( |
| ) |
const |
|
pure virtual |
Gets the physical height of the texture (in byte).
- Returns
- physical height a texture.
◆ GetPhysicalWidth()
virtual tInt GetPhysicalWidth |
( |
| ) |
const |
|
pure virtual |
Gets the physical width of the texture (in byte).
- Returns
- physical width a texture.
◆ GetWidth()
virtual tInt GetWidth |
( |
| ) |
const |
|
pure virtual |
Gets the width of a texture (in pixel).
- Returns
- The width of the Texture.
◆ Release()
virtual tResult Release |
( |
| ) |
|
|
pure virtual |
The Function releases the Texture.
- Returns
- The standard result code.
◆ SetMode()
virtual tResult SetMode |
( |
tInt |
nMode | ) |
|
|
pure virtual |
Set the Mode shown in tTextureMode.
- Parameters
-
- Returns
- The standard result code.