ObjectTexture Class Reference
#include <ObjectTexture.h>
Inheritance diagram for ObjectTexture:
![](../class_object_texture.png)
# Public Types | |
typedef const TextureSpec | ObjectTextureSpec |
typedef const ObjectTextureSpec | ObjectTextureROMSpec |
# Public Member Functions | |
void | constructor (const ObjectTextureSpec *objectTextureSpec, uint16 id) |
# Additional Inherited Members | |
![]() | |
enum | TextureStatus |
typedef const TextureSpec | TextureROMSpec |
![]() | |
void | constructor (const TextureSpec *textureSpec, uint16 id) |
override bool | onEvent (ListenerObject eventFirer, uint16 eventCode) |
uint16 | getId () |
void | setSpec (TextureSpec *textureSpec) |
const TextureSpec * | getSpec () |
CharSet | getCharSet (uint32 loadIfNeeded) |
void | increaseUsageCount () |
Increase the usage count. | |
bool | decreaseUsageCount () |
Decrease the usage count. | |
int8 | getUsageCount () |
void | setPalette (uint8 palette) |
uint8 | getPalette () |
uint32 | getNumberOfFrames () |
void | setFrame (uint16 frame) |
uint16 | getFrame () |
uint32 | getCols () |
uint32 | getRows () |
bool | isWritten () |
bool | isShared () |
bool | isAnimated () |
bool | isSingleFrame () |
bool | isMultiframe () |
void | addChar (const Point *texturePoint, const uint32 *newChar) |
void | putChar (const Point *texturePoint, const uint32 *newChar) |
void | putPixel (const Point *texturePixel, const Pixel *charSetPixel, BYTE newPixelColor) |
void | prepare () |
bool | update (int16 maximumTextureRowsToWrite) |
virtual bool | write (int16 maximumTextureRowsToWrite) |
virtual void | rewrite () |
Rewrite graphical data to the allocated DRAM space. |
# Detailed Description
Class BgmapTexture
Inherits from Texture
A texture allocated in OBJECT memory.
Definition at line 53 of file ObjectTexture.h.
# Member Typedef Documentation
# ObjectTextureROMSpec
typedef const ObjectTextureSpec ObjectTextureROMSpec |
A ObjectTexture spec that is stored in ROM
Definition at line 42 of file ObjectTexture.h.
# ObjectTextureSpec
typedef const TextureSpec ObjectTextureSpec |
A ObjectTexture spec
Definition at line 38 of file ObjectTexture.h.
# Member Function Documentation
# constructor()
void ObjectTexture::constructor | ( | const ObjectTextureSpec * | objectTextureSpec, |
uint16 | id ) |
Class' constructor
- Parameters
-
objectTextureSpec Specification that determines how to configure the texture id Texture's identificator
Definition at line 22 of file ObjectTexture.c.
The documentation for this class was generated from the following files:
- VUEngine-Core/source/Component/VisualComponent/Sprite/Texture/ObjectTexture/ObjectTexture.h
- VUEngine-Core/source/Component/VisualComponent/Sprite/Texture/ObjectTexture/ObjectTexture.c