#include <TextureAlpha.h>
Inherits TextureInterface.
Inheritance diagram for TextureAlpha:


Public Member Functions | |
| TextureAlpha () | |
| Stadard costructor. | |
| virtual | ~TextureAlpha () |
| Standard destructor. | |
| virtual int | render (double x_begin, double x_end, double y_begin, double y_end) |
| Renders the plane with the textures on it. | |
| virtual int | loadAndBind (std::string p_filename, eTextureModification p_modifikationflag=TM_Masked_Normal) |
| Loads and binds the texture and generates a mask and also binds it. | |
Public Attributes | |
| int | handlerTexture |
| Holds the handler to the texture. | |
Definition at line 29 of file TextureAlpha.h.
| TextureAlpha::TextureAlpha | ( | ) |
| TextureAlpha::~TextureAlpha | ( | ) | [virtual] |
| int TextureAlpha::render | ( | double | x_begin, | |
| double | x_end, | |||
| double | y_begin, | |||
| double | y_end | |||
| ) | [virtual] |
Renders the plane with the textures on it.
Implements TextureInterface.
Definition at line 38 of file TextureAlpha.cpp.
References handlerTexture.
| int TextureAlpha::loadAndBind | ( | std::string | p_filename, | |
| eTextureModification | p_modifikationflag = TM_Masked_Normal | |||
| ) | [virtual] |
Loads and binds the texture and generates a mask and also binds it.
| p_filename | Filename for the texture to load. | |
| p_modifikationflag | Flag for postprocess modifying. |
Implements TextureInterface.
Definition at line 69 of file TextureAlpha.cpp.
References _BITMAPINFOHEADER::biHeight, TextureInterface::bind(), _BITMAPINFOHEADER::biWidth, handlerTexture, TextureData::infoheader, TextureData::l_texture, TextureInterface::loadPNG(), TextureInterface::ratio, and TM_Masked_Normal.
Here is the call graph for this function:

Holds the handler to the texture.
Definition at line 61 of file TextureAlpha.h.
Referenced by loadAndBind(), render(), and TextureAlpha().
1.5.2