VISH
0.2
|
Base class for textures, child classes are implemented by Renderers. More...
#include </home/werner/origo/vish/ocean/Anemonia/RenderBasin.hpp>
Base class for textures, child classes are implemented by Renderers.
virtual bool Wizt::RenderBasin::TextureTentacle::load | ( | const MemCore::RefPtr< MemCore::ChunkBase > & | TextureData, |
TextureFormat | TF, | ||
int | rank, | ||
size_t * | Dimensions, | ||
int | TextureUnit = 0 , |
||
TextureStorageFormat | TSF = AutomaticTexture() , |
||
int | level = 0 , |
||
int | border = 0 |
||
) | [pure virtual] |
TextureData | actual data to be loaded |
TF | The type of the texture |
rank | The dimensionality of the data |
Dimensions | The extension of the data in each dimension, must match the provided TextureData |
TextureUnit | The OpenGL texture unit in which to load these data |
TSF | The internal storage format of the texture, affects memory utilization. |