OpenPolygon  1.0.0
OpenPolygon is a Rendering Engine
Public Member Functions | Protected Attributes | List of all members
Engine::TextureUnit Class Reference

The TextureUnit class. More...

#include <textureunit.h>

Public Member Functions

 TextureUnit (const std::string &name)
 
void setTextureSize (int width, int height)
 
Texturecolour_height_op (Texture *height_map, Texture *texture_array, float textures, float alpha_factor=0.5f)
 
Texturecolour_rgb_op (Texture *alpha, Texture *texture0_r, Texture *texture1_g, Texture *texture2_b)
 
Texturecolour_alpha_add_op (Texture *alpha, Texture *texture0, Texture *texture1)
 
Texturecolour_alpha_add_op (float alpha_factor, Texture *texture0, Texture *texture1)
 
TextureloadTexture (const std::string &resource_file)
 

Protected Attributes

std::string m_texture_unit_name
 
int m_texture_width
 
int m_texture_height
 

Detailed Description

The TextureUnit class.


The documentation for this class was generated from the following files: