CTor
CTor
DTor
Postblit is disabled
Copying this object is disabled.
Supported Texture Format
Binds this Texture. Means this Texture is now activated.
Returns the byte size of the Texture
Returns the pixel data of this Texture or null if this Texture isn't valid. pixels is used to store the pixel data.
Returns the pixel of this Texture or null if this Texture isn't valid.
Returns true, if this Texture is currently activated.
Returns if repeating is enabled.
Returns if smooth filter are activated.
Returns if the texture is used.
Load from Surface
Load from memory.
Set a colorkey.
Set repeating.
Set smooth filter.
Binds this Texture. Means this Texture is now deactivated.
Update the pixel data of this Texture. The second parameter is a pointer to the area which is updated. If it is null (default) the whole Texture will be updated. The third parameter is the format of the pixels.
Returns the depth. May often 24 or 32.
Returns the Format.
Returns the height of this Texture.
Returns the Texture Id.
Returns the width of this Texture
Returns the currently bound texture id.
A Texture is a 2 dimensional pixel reprasentation. It is a wrapper of an OpenGL Texture.