OpenPolygon
1.0.0
OpenPolygon is a Rendering Engine
|
The TextureUnit class. More...
#include <textureunit.h>
Public Member Functions | |
TextureUnit (const std::string &name) | |
void | setTextureSize (int width, int height) |
Texture * | colour_height_op (Texture *height_map, Texture *texture_array, float textures, float alpha_factor=0.5f) |
Texture * | colour_rgb_op (Texture *alpha, Texture *texture0_r, Texture *texture1_g, Texture *texture2_b) |
Texture * | colour_alpha_add_op (Texture *alpha, Texture *texture0, Texture *texture1) |
Texture * | colour_alpha_add_op (float alpha_factor, Texture *texture0, Texture *texture1) |
Texture * | loadTexture (const std::string &resource_file) |
Protected Attributes | |
std::string | m_texture_unit_name |
int | m_texture_width |
int | m_texture_height |
The TextureUnit class.