Gel2D texture object base class. More...
#include <gelObject.h>
Public Member Functions | |
GelTextureObject () | |
Default constructor. | |
GelTexture * | getTexture () const |
Gets a pointer to the object's texture. | |
bool | hasTexture () const |
Checks if the object has a texture. | |
int | getBlendMode () const |
Gets the object's blending mode. | |
void | setBlendMode (int mode) |
Sets the object's blending mode. | |
Protected Attributes | |
GelTexture * | texture |
The object's texture. | |
int | blendMode |
The object's blend mode. |
Gel2D texture object base class.
gel::GelTextureObject::GelTextureObject | ( | ) |
Default constructor.
GelTexture* gel::GelTextureObject::getTexture | ( | ) | const |
Gets a pointer to the object's texture.
bool gel::GelTextureObject::hasTexture | ( | ) | const |
Checks if the object has a texture.
int gel::GelTextureObject::getBlendMode | ( | ) | const [inline] |
Gets the object's blending mode.
void gel::GelTextureObject::setBlendMode | ( | int | mode | ) | [inline] |
Sets the object's blending mode.
mode | : The object's new blending mode. |
GelTexture* gel::GelTextureObject::texture [protected] |
The object's texture.
int gel::GelTextureObject::blendMode [protected] |
The object's blend mode.
API Documentation by Mark D. Procarione | Generated by |