Home | All Classes | Grouped Classes | Index | Search
OpenGL texture container. More...
Derived from:
none
Derived by:
none
Group: GL (Display 3D)
#include <ClanLib/gl.h>
Construction:
Construct a texture object.  | 
Attributes:
Returns the OpenGL texture handle.  | |
Get the texture target as OpenGL constant.  | |
Get the internal texture format as OpenGL constant.  | |
Get the texture width.  | |
Get the texture height.  | |
Get the texture depth.  | |
Get the texture border size.  | |
Retrieve image data from texture.  | |
Get the minimum level of detail.  | |
Get the maximum level of detail.  | |
Get the level of detail bias constant.  | |
Get the texture base level.  | |
Get the texture max level.  | |
Get if automatic mipmap generation is enabled.  | |
Get the texture wrap mode for the s coordinate.  | |
Get the texture wrap mode for the s coordinate as OpenGL constant.  | |
Get the texture wrap mode for the t coordinate.  | |
Get the texture wrap mode for the t coordinate as OpenGL constant.  | |
Get the texture wrap mode for the r coordinate.  | |
Get the texture wrap mode for the r coordinate as OpenGL constant.  | |
Get the texture minification filter.  | |
Get the texture minification filter as OpenGL constant.  | |
Get the texture magnification filter.  | |
Get the texture magnification filter as OpenGL constant.  | |
Get the texture border color.  | |
Get the texture priority.  | |
Returns true if texture is resident in texture memory.  | |
Get the texture depth mode.  | |
Get the texture depth mode as OpenGL constant.  | |
Get the texture compare mode.  | |
Get the texture compare mode as OpenGL constant.  | |
Get the texture compare function.  | |
Get the texture compare function as OpenGL constant.  | 
Operations:
Bind texture on current active CL_OpenGLState.  | |
Set texture size, without uploading any image data.  | |
Upload image to texture.  | |
Upload cube map.  | |
Upload 3D image to texture with OpenGL constants.  | |
Upload 2D image to texture with OpenGL constants.  | |
Upload 1D image to texture with OpenGL constants.  | |
Upload image to sub texture.  | |
Upload 3D sub image to texture with OpenGL constants.  | |
Upload 2D sub image to texture with OpenGL constants.  | |
Upload 1D sub image to texture with OpenGL constants.  | |
Copy image data from a graphic context.  | |
Copy 2D image data from a graphic context with OpenGL constants.  | |
Copy 1D image data from a graphic context with OpenGL constants.  | |
Copy sub image data from a graphic context.  | |
Copy 3D sub image data from a graphic context with OpenGL constants.  | |
Copy 2D sub image data from a graphic context with OpenGL constants.  | |
Copy 1D sub image data from a graphic context with OpenGL constants.  | |
Set the minimum level of detail texture parameter.  | |
Set the maximum level of detail texture parameter.  | |
Sets the level of detail bias constant.  | |
Sets the texture base level texture parameter.  | |
Sets the texture max level texture parameter.  | |
Enables or disables automatic mipmap generation when uploading image data.  | |
Set the texture wrapping mode.  | |
Set the texture wrapping mode with OpenGL constants.  | |
Set the minification filter.  | |
Set the minification filter with an OpenGL constant.  | |
Set the magnification filter.  | |
Set the magnification filter with an OpenGL constant.  | |
Set texture border color.  | |
Set texture priority.  | |
Set the depth texture mode parameter.  | |
Set the depth texture mode with an OpenGL constant.  | |
Sets the texture compare mode and compare function texture parameters.  | |
Sets the texture compare mode and function with an OpenGL constant.  | |
Returns wrap mode as OpenGL constant.  | |
Returns OpenGL constant as wrap mode.  | |
Converts CL_TextureFilter enum to OpenGL constant.  | |
Converts OpenGL constant to CL_Texturefilter enum.  | |
Converts CL_TextureDepthMode enum to OpenGL constant.  | |
Converts OpenGL constant to CL_TextureDepthMode enum.  | |
Converts CL_TextureCompareMode enum to OpenGL constant.  | |
Converts OpenGL constant to CL_TextureCompareMode enum.  | |
Converts CL_TextureCompareFunction to OpenGL constant.  | |
Converts OpenGL constant to CL_TextureCompareFunction.  | 
Detailed description:
This class is ClanLib's C++ interface to an OpenGL texture.