Stellt die Basis-Klasse der RGBA-Texturen Kapselungen dar. More...
Public Member Functions | |
override abstract void | uploadTexture (int _level=0) |
Public Member Functions inherited from HW09CPC.GLTexture | |
void | deleteTexture () |
Löscht die Textur. | |
void | bind () |
Bindet die Textur. | |
void | bind (TextureUnit _textureUnit) |
void | unbind () |
Löst die Textur. | |
void | loadTexture () |
Läd die Textur. | |
bool | isLoaded () |
int | getHandle () |
TextureUnit | getTextureUnit () |
void | setTextureUnit (TextureUnit _textureUnit) |
uint | getWidth () |
uint | getHeight () |
bool | isMipmapped () |
void | resize (uint _width, uint _height) |
void | generateMipmap () |
Generiert die Mipmap-Stufen. | |
void | updateMipmap () |
Berechnet die Mipmap-Stufen neu. | |
void | disableMipmapping () |
Deaktiviert Mipmapping. | |
void | setNearestFiltering () |
Setzt Nearest-Filterung. | |
void | setLinearFiltering () |
Setzt Linear-Filterung. | |
void | setWrapMode (All _s, All _t, All _r) |
Protected Member Functions | |
GLTextureRgba (string _name, uint _width, uint _height, TextureUnit _textureUnit, bool _generateMipmap, bool _srgb, float[] _data) | |
bool | isSrgb () |
Protected Member Functions inherited from HW09CPC.GLTexture | |
GLTexture (string _name, uint _width, uint _height, TextureUnit _textureUnit, bool _generateMipmap, float[] _data) | |
void | generateHandle () |
void | setNearest () |
void | setLinear () |
void | setParameter () |
Protected Attributes | |
bool | mIsSrgb |
Protected Attributes inherited from HW09CPC.GLTexture | |
bool | mIsLoaded |
float[] | mData |
uint | mWidth |
int | mHandle |
TextureUnit | mTextureUnit |
TextureTarget | mTarget |
PixelInternalFormat | mInternalFormat |
PixelFormat | mFormat |
PixelType | mType |
TextureMinFilter | mMinFilter |
TextureMagFilter | mMagFilter |
All | mWrapS |
All | mWrapT |
All | mWrapR |
string | mName |
bool | mIsMipmapped |
Stellt die Basis-Klasse der RGBA-Texturen Kapselungen dar.
|
pure virtual |
Läd die Textur in den Grafikspeicher und das angegebene Mipmap-Level
_level | das gewünschte Mipmap-Level |
Implements HW09CPC.GLTexture.
Implemented in HW09CPC.GLTextureRgba2D, and HW09CPC.GLTextureRgba1D.