Operations applicable to any texture including texture 0 (zero) More...
#include </home/chochlik/devel/oglplus/include/oglplus/texture.hpp>
Classes | |
struct | Property |
Types related to Texture. More... | |
Public Types | |
typedef TextureTarget | Target |
Texture bind targets. | |
Public Member Functions | |
void | Bind (Target target) const |
Binds this texture to the specified target . More... | |
void | BindImage (ImageUnitSelector unit, GLint level, bool layered, GLint layer, AccessSpecifier access, ImageUnitFormat format) const |
Binds a level of this texture to an image unit . More... | |
void | InvalidateImage (GLsizei level) |
Invalidates the specified level of texture image. More... | |
void | InvalidateSubImage (GLsizei level, GLint xoffs, GLint yoffs, GLint zoffs, GLsizei width, GLsizei height, GLsizei depth) |
Invalidates the specified part of texture image. More... | |
template<typename GLtype > | |
void | ClearImage (GLsizei level, PixelDataFormat format, const GLtype *data) |
Clears the specified level of texture image. More... | |
template<typename GLtype > | |
void | ClearSubImage (GLsizei level, GLint xoffs, GLint yoffs, GLint zoffs, GLsizei width, GLsizei height, GLsizei depth, PixelDataFormat format, const GLtype *data) |
Clears the specified part of texture image. More... | |
void | View (Target target, TextureName orig_texture, PixelDataInternalFormat internal_format, GLuint min_level, GLuint num_levels, GLuint min_layer, GLuint num_layers) |
References and reinteprets a subset of the data of another texture. More... | |
Static Public Member Functions | |
static GLsizei | Width (Target target, GLint level=0) |
Returns the width of the texture as it was specified by *Image*D. More... | |
static GLsizei | Height (Target target, GLint level=0) |
Returns the height of the texture as it was specified by *Image*D. More... | |
static GLsizei | Depth (Target target, GLint level=0) |
Returns the depth of the texture as it was specified by *Image*D. More... | |
static PixelDataType | RedType (Target target, GLint level=0) |
Returns the data type used to store the RED component. More... | |
static PixelDataType | GreenType (Target target, GLint level=0) |
Returns the data type used to store the GREEN component. More... | |
static PixelDataType | BlueType (Target target, GLint level=0) |
Returns the data type used to store the BLUE component. More... | |
static PixelDataType | AlphaType (Target target, GLint level=0) |
Returns the data type used to store the ALPHA component. More... | |
static PixelDataType | DepthType (Target target, GLint level=0) |
Returns the data type used to store the DEPTH component. More... | |
static GLsizei | RedSize (Target target, GLint level=0) |
Returns the actual resolution of the RED component. More... | |
static GLsizei | GreenSize (Target target, GLint level=0) |
Returns the actual resolution of the GREEN component. More... | |
static GLsizei | BlueSize (Target target, GLint level=0) |
Returns the actual resolution of the BLUE component. More... | |
static GLsizei | AlphaSize (Target target, GLint level=0) |
Returns the actual resolution of the ALPHA component. More... | |
static GLsizei | DepthSize (Target target, GLint level=0) |
Returns the actual resolution of the DEPTH component. More... | |
static GLsizei | StencilSize (Target target, GLint level=0) |
Returns the actual resolution of the STENCIL component. More... | |
static GLsizei | SharedSize (Target target, GLint level=0) |
Returns the size of all texture components. More... | |
static GLsizei | CompressedImageSize (Target target, GLint level=0) |
Returns the size (in bytes) of the image array if it is compressed. More... | |
static PixelDataInternalFormat | InternalFormat (Target target, GLint level=0) |
Returns the internal data format of the image array. More... | |
static void | GetImage (Target target, GLint level, PixelDataFormat format, const OutputData &dest) |
Allows to obtain the texture image in uncompressed form. More... | |
static void | GetImage (Target target, GLint level, PixelDataFormat format, Property::PixDataType type, GLsizei size, GLvoid *buffer) |
Allows to obtain the texture image in uncompressed form. More... | |
static void | GetCompressedImage (Target target, GLint level, const OutputData &dest) |
Allows to obtain the texture image in compressed form. More... | |
static void | GetCompressedImage (Target target, GLint level, GLsizei size, GLubyte *buffer) |
Allows to obtain the texture image in compressed form. More... | |
static void | GetCompressedImage (Target target, GLint level, std::vector< GLubyte > &dest) |
Allows to obtain the texture image in compressed form. More... | |
static void | Image3D (Target target, GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLsizei depth, GLint border, PixelDataFormat format, Property::PixDataType type, const void *data) |
Specifies a three dimensional texture image. More... | |
static void | Image3D (Target target, const images::Image &image, GLint level=0, GLint border=0) |
Specifies a three dimensional texture image. More... | |
static void | SubImage3D (Target target, GLint level, GLint xoffs, GLint yoffs, GLint zoffs, GLsizei width, GLsizei height, GLsizei depth, PixelDataFormat format, Property::PixDataType type, const void *data) |
Specifies a three dimensional texture sub image. More... | |
static void | SubImage3D (Target target, const images::Image &image, GLint xoffs, GLint yoffs, GLint zoffs, GLint level=0) |
Specifies a three dimensional texture sub image. More... | |
static void | Image2D (Target target, GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLint border, PixelDataFormat format, Property::PixDataType type, const void *data) |
Specifies a two dimensional texture image. More... | |
static void | Image2D (Target target, const images::Image &image, GLint level=0, GLint border=0) |
Specifies a two dimensional texture image. More... | |
static void | ImageCM (GLuint face, GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLint border, PixelDataFormat format, Property::PixDataType type, const void *data) |
Specifies the image of the specified cube-map face. More... | |
static void | ImageCM (GLuint face, const images::Image &image, GLint level=0, GLint border=0) |
Specifies the image of the specified cube-map face. More... | |
static void | SubImage2D (Target target, GLint level, GLint xoffs, GLint yoffs, GLsizei width, GLsizei height, PixelDataFormat format, Property::PixDataType type, const void *data) |
Specifies a two dimensional texture sub image. More... | |
static void | SubImage2D (Target target, const images::Image &image, GLint xoffs, GLint yoffs, GLint level=0) |
Specifies a two dimensional texture sub image. More... | |
static void | Image1D (Target target, GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLint border, PixelDataFormat format, Property::PixDataType type, const void *data) |
Specifies a one dimensional texture image. More... | |
static void | Image1D (Target target, const images::Image &image, GLint level=0, GLint border=0) |
Specifies a one dimensional texture image. More... | |
static void | SubImage1D (Target target, GLint level, GLint xoffs, GLsizei width, PixelDataFormat format, Property::PixDataType type, const void *data) |
Specifies a one dimensional texture sub image. More... | |
static void | SubImage1D (Target target, const images::Image &image, GLint xoffs, GLint level=0) |
Specifies a two dimensional texture sub image. More... | |
static void | Image (Target target, const images::Image &image, GLint level=0, GLint border=0) |
Specifies a texture image. More... | |
static void | Image (Target target, const images::ImageSpec &image_spec, GLint level=0, GLint border=0) |
Specifies a texture image. More... | |
static void | CopyImage2D (Target target, GLint level, PixelDataInternalFormat internal_format, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
Copies a two dimensional texture image from the framebuffer. More... | |
static void | CopyImage1D (Target target, GLint level, PixelDataInternalFormat internal_format, GLint x, GLint y, GLsizei width, GLint border) |
Copies a one dimensional texture image from the framebuffer. More... | |
static void | CopySubImage3D (Target target, GLint level, GLint xoffs, GLint yoffs, GLint zoffs, GLint x, GLint y, GLsizei width, GLsizei height) |
Copies a three dimensional texture sub image from the framebuffer. More... | |
static void | CopySubImage2D (Target target, GLint level, GLint xoffs, GLint yoffs, GLint x, GLint y, GLsizei width, GLsizei height) |
Copies a two dimensional texture sub image from the framebuffer. More... | |
static void | CopySubImage1D (Target target, GLint level, GLint xoffs, GLint x, GLint y, GLsizei width) |
Copies a one dimensional texture sub image from the framebuffer. More... | |
static void | CompressedImage3D (Target target, GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei image_size, const void *data) |
Specifies a three dimensional compressed texture image. More... | |
static void | CompressedImage2D (Target target, GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLint border, GLsizei image_size, const void *data) |
Specifies a two dimensional compressed texture image. More... | |
static void | CompressedImage1D (Target target, GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLint border, GLsizei image_size, const void *data) |
Specifies a one dimensional compressed texture image. More... | |
static void | CompressedSubImage3D (Target target, GLint level, GLint xoffs, GLint yoffs, GLint zoffs, GLsizei width, GLsizei height, GLsizei depth, PixelDataFormat format, GLsizei image_size, const void *data) |
Specifies a three dimensional compressed texture sub image. More... | |
static void | CompressedSubImage2D (Target target, GLint level, GLint xoffs, GLint yoffs, GLsizei width, GLsizei height, PixelDataFormat format, GLsizei image_size, const void *data) |
Specifies a two dimensional compressed texture sub image. More... | |
static void | CompressedSubImage1D (Target target, GLint level, GLint xoffs, GLsizei width, PixelDataFormat format, GLsizei image_size, const void *data) |
Specifies a one dimensional compressed texture sub image. More... | |
static void | Image3DMultisample (Target target, GLsizei samples, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLsizei depth, bool fixed_sample_locations) |
Sets-up a three dimensional multisample texture. More... | |
static void | Image2DMultisample (Target target, GLsizei samples, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, bool fixed_sample_locations) |
Sets-up a two dimensional multisample texture. More... | |
static void | Buffer (Target target, PixelDataInternalFormat internal_format, BufferName buffer) |
Assigns a buffer storing the texel data to the texture. More... | |
static void | BufferRange (Target target, PixelDataInternalFormat internal_format, BufferName buffer, GLintptr offset, GLsizeiptr size) |
Assigns a buffer range storing the texel data to the texture. More... | |
static void | Storage1D (Target target, GLsizei levels, PixelDataInternalFormat internal_format, GLsizei width) |
Specifies all levels of 1D texture at the same time. More... | |
static void | Storage2D (Target target, GLsizei levels, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height) |
Specifies all levels of 2D texture at the same time. More... | |
static void | Storage3D (Target target, GLsizei levels, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLsizei depth) |
Specifies all levels of 3D texture at the same time. More... | |
static GLuint | BaseLevel (Target target) |
Returns the texture base level (TEXTURE_BASE_LEVEL) More... | |
static void | BaseLevel (Target target, GLuint level) |
Sets the texture base level (TEXTURE_BASE_LEVEL) More... | |
static Vector< GLfloat, 4 > | BorderColor (Target target, TypeTag< GLfloat >) |
Gets the texture border color (TEXTURE_BORDER_COLOR) More... | |
static void | BorderColor (Target target, Vector< GLfloat, 4 > color) |
Sets the texture border color (TEXTURE_BORDER_COLOR) More... | |
static Vector< GLint, 4 > | BorderColor (Target target, TypeTag< GLint >) |
Gets the texture border color (TEXTURE_BORDER_COLOR) More... | |
static void | BorderColor (Target target, Vector< GLint, 4 > color) |
Sets the texture border color (TEXTURE_BORDER_COLOR) More... | |
static Vector< GLuint, 4 > | BorderColor (Target target, TypeTag< GLuint >) |
Gets the texture border color (TEXTURE_BORDER_COLOR) More... | |
static void | BorderColor (Target target, Vector< GLuint, 4 > color) |
Sets the texture border color (TEXTURE_BORDER_COLOR) More... | |
static TextureCompareMode | CompareMode (Target target) |
Gets the compare mode (TEXTURE_COMPARE_MODE) More... | |
static void | CompareMode (Target target, TextureCompareMode mode) |
Sets the compare mode (TEXTURE_COMPARE_MODE) More... | |
static CompareFunction | CompareFunc (Target target) |
Sets the compare function (TEXTURE_COMPARE_FUNC) More... | |
static void | CompareFunc (Target target, CompareFunction func) |
Sets the compare function (TEXTURE_COMPARE_FUNC) More... | |
static GLfloat | LODBias (Target target) |
Gets the LOD bias value (TEXTURE_LOD_BIAS) More... | |
static void | LODBias (Target target, GLfloat value) |
Sets the LOD bias value (TEXTURE_LOD_BIAS) More... | |
static void | Filter (Target target, TextureFilter filter) |
Sets both the minification and magnification filter. More... | |
static TextureMagFilter | MagFilter (Target target) |
Gets the magnification filter (TEXTURE_MAG_FILTER) More... | |
static void | MagFilter (Target target, TextureMagFilter filter) |
Sets the magnification filter (TEXTURE_MAG_FILTER) More... | |
static TextureMinFilter | MinFilter (Target target) |
Gets the minification filter (TEXTURE_MIN_FILTER) More... | |
static void | MinFilter (Target target, TextureMinFilter filter) |
Sets the minification filter (TEXTURE_MIN_FILTER) More... | |
static GLfloat | MinLOD (Target target) |
Gets minimal LOD value (TEXTURE_MIN_LOD) More... | |
static void | MinLOD (Target target, GLfloat value) |
Sets minimal LOD value (TEXTURE_MIN_LOD) More... | |
static GLfloat | MaxLOD (Target target) |
Gets maximum LOD value (TEXTURE_MAX_LOD) More... | |
static void | MaxLOD (Target target, GLfloat value) |
Sets maximum LOD value (TEXTURE_MAX_LOD) More... | |
static GLint | MaxLevel (Target target) |
Gets maximum level value (TEXTURE_MAX_LEVEL) More... | |
static void | MaxLevel (Target target, GLint value) |
Sets maximum level value (TEXTURE_MAX_LEVEL) More... | |
static GLfloat | MaxAnisotropy (Target target) |
Gets the maximum anisotropy level. More... | |
static GLfloat | Anisotropy (Target target) |
Gets the current anisotropy level. More... | |
static void | Anisotropy (Target target, GLfloat value) |
Sets the anisotropy level. More... | |
static TextureSwizzle | Swizzle (Target target, TextureSwizzleCoord coord) |
Gets the swizzle parameter (TEXTURE_SWIZZLE_*) More... | |
static void | Swizzle (Target target, TextureSwizzleCoord coord, TextureSwizzle mode) |
Sets the swizzle parameter (TEXTURE_SWIZZLE_*) More... | |
static TextureSwizzle | SwizzleR (Target target) |
Gets the swizzle parameter (TEXTURE_SWIZZLE_R) More... | |
static void | SwizzleR (Target target, TextureSwizzle mode) |
Sets the swizzle parameter (TEXTURE_SWIZZLE_R) More... | |
static TextureSwizzle | SwizzleG (Target target) |
Gets the swizzle parameter (TEXTURE_SWIZZLE_G) More... | |
static void | SwizzleG (Target target, TextureSwizzle mode) |
Sets the swizzle parameter (TEXTURE_SWIZZLE_G) More... | |
static TextureSwizzle | SwizzleB (Target target) |
Gets the swizzle parameter (TEXTURE_SWIZZLE_B) More... | |
static void | SwizzleB (Target target, TextureSwizzle mode) |
Sets the swizzle parameter (TEXTURE_SWIZZLE_B) More... | |
static TextureSwizzle | SwizzleA (Target target) |
Gets the swizzle parameter (TEXTURE_SWIZZLE_A) More... | |
static void | SwizzleA (Target target, TextureSwizzle mode) |
Sets the swizzle parameter (TEXTURE_SWIZZLE_A) More... | |
static TextureSwizzleTuple | SwizzleRGBA (Target target) |
Gets the swizzle parameter (TEXTURE_SWIZZLE_RGBA) More... | |
static void | SwizzleRGBA (Target target, TextureSwizzle mode) |
Sets the RGBA swizzle parameter (TEXTURE_SWIZZLE_RGBA) More... | |
static void | SwizzleRGBA (Target target, TextureSwizzle mode_r, TextureSwizzle mode_g, TextureSwizzle mode_b, TextureSwizzle mode_a) |
Sets the RGBA swizzle parameters (TEXTURE_SWIZZLE_RGBA) More... | |
static void | SwizzleRGBA (Target target, const TextureSwizzleTuple &modes) |
Sets the RGBA swizzle parameters (TEXTURE_SWIZZLE_RGBA) More... | |
static TextureWrap | Wrap (Target target, TextureWrapCoord coord) |
Gets the wrap parameter (TEXTURE_WRAP_*) More... | |
static void | Wrap (Target target, TextureWrapCoord coord, TextureWrap mode) |
Sets the wrap parameter (TEXTURE_WRAP_*) More... | |
static TextureWrap | WrapS (Target target) |
Gets the wrap parameter (TEXTURE_WRAP_S) More... | |
static void | WrapS (Target target, TextureWrap mode) |
Sets the wrap parameter (TEXTURE_WRAP_S) More... | |
static TextureWrap | WrapT (Target target) |
Gets the wrap parameter (TEXTURE_WRAP_T) More... | |
static void | WrapT (Target target, TextureWrap mode) |
Sets the wrap parameter (TEXTURE_WRAP_T) More... | |
static TextureWrap | WrapR (Target target) |
Gets the wrap parameter (TEXTURE_WRAP_R) More... | |
static void | WrapR (Target target, TextureWrap mode) |
Sets the wrap parameter (TEXTURE_WRAP_R) More... | |
static PixelDataFormat | DepthStencilMode (Target target) |
Gets the depth stencil mode parameter (DEPTH_STENCIL_TEXTURE_MODE) More... | |
static void | DepthStencilMode (Target target, PixelDataFormat mode) |
Sets the depth stencil mode (DEPTH_STENCIL_TEXTURE_MODE) More... | |
static bool | Seamless (Target target) |
Gets the seamless cubemap setting value. More... | |
static void | Seamless (Target target, bool enable) |
Sets the seamless cubemap setting. More... | |
static void | Barrier (void) |
Ensures that texture writes have been completed. More... | |
static void | GenerateMipmap (Target target) |
Generate mipmap for the texture bound to the specified target. More... | |
static void | Active (TextureUnitSelector index) |
Specify active texture unit for subsequent commands. More... | |
static GLint | Active (void) |
Returns active texture unit. More... | |
static Target | CubeMapFace (GLuint face) |
Returns the target for the i-th cube map face (0-5) More... | |
static void | Bind (Target target, TextureName texture) |
Binds the specified texture to the specified target . More... | |
static void | Bind (GLuint first, const Sequence< TextureName > &textures) |
Sequentially bind textures to texture units starting with first . More... | |
static void | BindImage (ImageUnitSelector unit, TextureName texture, GLint level, bool layered, GLint layer, AccessSpecifier access, ImageUnitFormat format) |
Binds a level of texture to an image unit . More... | |
static void | BindImage (GLuint first, const Sequence< TextureName > &textures) |
Sequentially bind textures to image units starting with first . More... | |
static TextureName | Binding (Target target) |
Returns the current Texture bound to specified target . More... | |
Operations applicable to any texture including texture 0 (zero)
|
staticinherited |
Specify active texture unit for subsequent commands.
Error |
|
staticinherited |
|
static |
Returns the actual resolution of the ALPHA component.
GL_TEXTURE_ALPHA_SIZE
|
static |
Returns the data type used to store the ALPHA component.
GL_TEXTURE_ALPHA_TYPE
|
static |
Gets the current anisotropy level.
GL_TEXTURE_MAX_ANISOTROPY_EXT
|
static |
Sets the anisotropy level.
GL_TEXTURE_MAX_ANISOTROPY_EXT
|
static |
Ensures that texture writes have been completed.
Requires the GL_NV_texture_barrier extension.
|
static |
Returns the texture base level (TEXTURE_BASE_LEVEL)
GL_TEXTURE_BASE_LEVEL
|
static |
Sets the texture base level (TEXTURE_BASE_LEVEL)
GL_TEXTURE_BASE_LEVEL
|
staticinherited |
Binds the specified texture
to the specified target
.
References oglplus::GetGLName().
|
staticinherited |
Sequentially bind textures
to texture units starting with first
.
Error |
References oglplus::GetGLNames(), and oglplus::Sequence< ObjName >::size().
|
inherited |
Binds this texture to the specified target
.
|
staticinherited |
Binds a level
of texture
to an image unit
.
Requires OpenGL 4.2 or the GL_ARB_shader_image_load_store extension.
References oglplus::GetGLName().
|
staticinherited |
Sequentially bind textures
to image units starting with first
.
Error |
References oglplus::GetGLNames(), and oglplus::Sequence< ObjName >::size().
|
inherited |
Binds a level
of this texture to an image unit
.
Requires OpenGL 4.2 or the GL_ARB_shader_image_load_store extension.
|
staticinherited |
Returns the current Texture bound to specified target
.
|
static |
Returns the actual resolution of the BLUE component.
GL_TEXTURE_BLUE_SIZE
|
static |
Returns the data type used to store the BLUE component.
GL_TEXTURE_BLUE_TYPE
|
static |
Gets the texture border color (TEXTURE_BORDER_COLOR)
GL_TEXTURE_BORDER_COLOR
|
static |
Sets the texture border color (TEXTURE_BORDER_COLOR)
GL_TEXTURE_BORDER_COLOR
|
static |
Gets the texture border color (TEXTURE_BORDER_COLOR)
GL_TEXTURE_BORDER_COLOR
|
static |
Sets the texture border color (TEXTURE_BORDER_COLOR)
GL_TEXTURE_BORDER_COLOR
|
static |
Gets the texture border color (TEXTURE_BORDER_COLOR)
GL_TEXTURE_BORDER_COLOR
|
static |
Sets the texture border color (TEXTURE_BORDER_COLOR)
GL_TEXTURE_BORDER_COLOR
|
static |
Assigns a buffer storing the texel data to the texture.
Requires OpenGL 3.1.
References oglplus::GetGLName().
|
static |
Assigns a buffer range storing the texel data to the texture.
Requires OpenGL 4.3.
References oglplus::GetGLName().
|
inherited |
Clears the specified level of texture image.
Requires OpenGL 4.4.
|
inherited |
Clears the specified part of texture image.
Requires OpenGL 4.4.
|
static |
Sets the compare function (TEXTURE_COMPARE_FUNC)
GL_TEXTURE_COMPARE_FUNC
|
static |
Sets the compare function (TEXTURE_COMPARE_FUNC)
GL_TEXTURE_COMPARE_FUNC
|
static |
Gets the compare mode (TEXTURE_COMPARE_MODE)
GL_TEXTURE_COMPARE_MODE
|
static |
Sets the compare mode (TEXTURE_COMPARE_MODE)
GL_TEXTURE_COMPARE_MODE
|
static |
Specifies a one dimensional compressed texture image.
|
static |
Specifies a two dimensional compressed texture image.
|
static |
Specifies a three dimensional compressed texture image.
|
static |
Returns the size (in bytes) of the image array if it is compressed.
GL_TEXTURE_COMPRESSED_IMAGE_SIZE
|
static |
Specifies a one dimensional compressed texture sub image.
|
static |
Specifies a two dimensional compressed texture sub image.
|
static |
Specifies a three dimensional compressed texture sub image.
|
static |
Copies a one dimensional texture image from the framebuffer.
|
static |
Copies a two dimensional texture image from the framebuffer.
|
static |
Copies a one dimensional texture sub image from the framebuffer.
|
static |
Copies a two dimensional texture sub image from the framebuffer.
|
static |
Copies a three dimensional texture sub image from the framebuffer.
|
staticinherited |
Returns the target for the i-th cube map face
(0-5)
This functions returns one of the values for cube map faces from the Target enumeration. The value of face
must be between 0 and 5 with the following meaning: 0 = Target::CubeMapPositiveX, 1 = Target::CubeMapNegativeX, 2 = Target::CubeMapPositiveY, 3 = Target::CubeMapNegativeY, 4 = Target::CubeMapPositiveZ, 5 = Target::CubeMapNegativeZ.
|
static |
Returns the depth of the texture as it was specified by *Image*D.
GL_TEXTURE_DEPTH
|
static |
Returns the actual resolution of the DEPTH component.
GL_TEXTURE_DEPTH_SIZE
|
static |
Gets the depth stencil mode parameter (DEPTH_STENCIL_TEXTURE_MODE)
Requires OpenGL 4.3.
GL_DEPTH_STENCIL_TEXTURE_MODE
|
static |
Sets the depth stencil mode (DEPTH_STENCIL_TEXTURE_MODE)
Requires OpenGL 4.3.
GL_DEPTH_STENCIL_TEXTURE_MODE
|
static |
Returns the data type used to store the DEPTH component.
GL_TEXTURE_DEPTH_TYPE
|
static |
Sets both the minification and magnification filter.
GL_TEXTURE_MIN_FILTER
GL_TEXTURE_MAG_FILTER
|
static |
Generate mipmap for the texture bound to the specified target.
|
static |
Allows to obtain the texture image in compressed form.
This function stores the image of the texture bound to the specified texture target
with the specified level
of detail in compressed form into the dest
buffer. This function automatically resizes the buffer so that it can accomodate the texture data.
|
static |
Allows to obtain the texture image in compressed form.
This function stores the image of the texture bound to the specified texture target
with the specified level
of detail in compressed form into the dest
buffer. This function automatically resizes the buffer so that it can accomodate the texture data.
|
static |
Allows to obtain the texture image in compressed form.
This function stores the image of the texture bound to the specified texture target
with the specified level
of detail in compressed form into the dest
buffer. This function automatically resizes the buffer so that it can accomodate the texture data.
|
static |
Allows to obtain the texture image in uncompressed form.
This function stores the image of the texture bound to the specified texture target
with the specified level
of detail in uncompressed form into the dest
buffer.
GetCompressedImage
, does NOT automatically resize the destination buffer so that it can accomodate the texture data. The caller is responsible for keeping track or querying the type of the texture, its dimensions and current pixel transfer settings and resize the dest
buffer accordingly.
|
static |
Allows to obtain the texture image in uncompressed form.
This function stores the image of the texture bound to the specified texture target
with the specified level
of detail in uncompressed form into the dest
buffer.
GetCompressedImage
, does NOT automatically resize the destination buffer so that it can accomodate the texture data. The caller is responsible for keeping track or querying the type of the texture, its dimensions and current pixel transfer settings and resize the dest
buffer accordingly.
|
static |
Returns the actual resolution of the GREEN component.
GL_TEXTURE_GREEN_SIZE
|
static |
Returns the data type used to store the GREEN component.
GL_TEXTURE_GREEN_TYPE
|
static |
Returns the height of the texture as it was specified by *Image*D.
GL_TEXTURE_HEIGHT
|
static |
Specifies a texture image.
|
static |
Specifies a texture image.
|
static |
Specifies a one dimensional texture image.
|
static |
Specifies a one dimensional texture image.
|
static |
Specifies a two dimensional texture image.
|
static |
Specifies a two dimensional texture image.
|
static |
Sets-up a two dimensional multisample texture.
Requires OpenGL 3.2 or the GL_ARB_texture_multisample extension.
|
static |
Specifies a three dimensional texture image.
|
static |
Specifies a three dimensional texture image.
|
static |
Sets-up a three dimensional multisample texture.
Requires OpenGL 3.2 or the GL_ARB_texture_multisample extension.
|
static |
Specifies the image of the specified cube-map face.
GL_TEXTURE_CUBE_MAP_POSITIVE_X
GL_TEXTURE_CUBE_MAP_NEGATIVE_X
GL_TEXTURE_CUBE_MAP_POSITIVE_Y
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
GL_TEXTURE_CUBE_MAP_POSITIVE_Z
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
|
static |
Specifies the image of the specified cube-map face.
GL_TEXTURE_CUBE_MAP_POSITIVE_X
GL_TEXTURE_CUBE_MAP_NEGATIVE_X
GL_TEXTURE_CUBE_MAP_POSITIVE_Y
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
GL_TEXTURE_CUBE_MAP_POSITIVE_Z
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
|
static |
Returns the internal data format of the image array.
GL_TEXTURE_INTERNAL_FORMAT
|
inherited |
Invalidates the specified level of texture image.
Requires OpenGL 4.3.
|
inherited |
Invalidates the specified part of texture image.
Requires OpenGL 4.3.
|
static |
Gets the LOD bias value (TEXTURE_LOD_BIAS)
GL_TEXTURE_LOD_BIAS
|
static |
Sets the LOD bias value (TEXTURE_LOD_BIAS)
GL_TEXTURE_LOD_BIAS
|
static |
Gets the magnification filter (TEXTURE_MAG_FILTER)
GL_TEXTURE_MAG_FILTER
|
static |
Sets the magnification filter (TEXTURE_MAG_FILTER)
GL_TEXTURE_MAG_FILTER
|
static |
Gets the maximum anisotropy level.
GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
|
static |
Gets maximum level value (TEXTURE_MAX_LEVEL)
GL_TEXTURE_MAX_LEVEL
|
static |
Sets maximum level value (TEXTURE_MAX_LEVEL)
GL_TEXTURE_MAX_LEVEL
|
static |
Gets maximum LOD value (TEXTURE_MAX_LOD)
GL_TEXTURE_MAX_LOD
|
static |
Sets maximum LOD value (TEXTURE_MAX_LOD)
GL_TEXTURE_MAX_LOD
|
static |
Gets the minification filter (TEXTURE_MIN_FILTER)
GL_TEXTURE_MIN_FILTER
|
static |
Sets the minification filter (TEXTURE_MIN_FILTER)
GL_TEXTURE_MIN_FILTER
|
static |
Gets minimal LOD value (TEXTURE_MIN_LOD)
GL_TEXTURE_MIN_LOD
|
static |
Sets minimal LOD value (TEXTURE_MIN_LOD)
GL_TEXTURE_MIN_LOD
|
static |
Returns the actual resolution of the RED component.
GL_TEXTURE_RED_SIZE
|
static |
Returns the data type used to store the RED component.
GL_TEXTURE_RED_TYPE
|
static |
Gets the seamless cubemap setting value.
Requires the GL_ARB_seamless_cubemap_per_texture extension.
GL_TEXTURE_CUBE_MAP_SEAMLESS
|
static |
Sets the seamless cubemap setting.
Requires the GL_ARB_seamless_cubemap_per_texture extension.
GL_TEXTURE_CUBE_MAP_SEAMLESS
|
static |
Returns the size of all texture components.
GL_TEXTURE_SHARED_SIZE
|
static |
|
static |
Specifies all levels of 1D texture at the same time.
Requires OpenGL 4.2 or the GL_ARB_texture_storage extension.
|
static |
Specifies all levels of 2D texture at the same time.
Requires OpenGL 4.2 or the GL_ARB_texture_storage extension.
|
static |
Specifies all levels of 3D texture at the same time.
Requires OpenGL 4.2 or the GL_ARB_texture_storage extension.
|
static |
Specifies a one dimensional texture sub image.
|
static |
Specifies a two dimensional texture sub image.
|
static |
Specifies a two dimensional texture sub image.
|
static |
Specifies a two dimensional texture sub image.
|
static |
Specifies a three dimensional texture sub image.
|
static |
Specifies a three dimensional texture sub image.
|
static |
Gets the swizzle parameter (TEXTURE_SWIZZLE_*)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
|
static |
Sets the swizzle parameter (TEXTURE_SWIZZLE_*)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
|
static |
Gets the swizzle parameter (TEXTURE_SWIZZLE_A)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_A
References oglplus::A.
|
static |
Sets the swizzle parameter (TEXTURE_SWIZZLE_A)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_A
References oglplus::A.
|
static |
Gets the swizzle parameter (TEXTURE_SWIZZLE_B)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_B
References oglplus::B.
|
static |
Sets the swizzle parameter (TEXTURE_SWIZZLE_B)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_B
References oglplus::B.
|
static |
Gets the swizzle parameter (TEXTURE_SWIZZLE_G)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_G
References oglplus::G.
|
static |
Sets the swizzle parameter (TEXTURE_SWIZZLE_G)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_G
References oglplus::G.
|
static |
Gets the swizzle parameter (TEXTURE_SWIZZLE_R)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_R
References oglplus::R.
|
static |
Sets the swizzle parameter (TEXTURE_SWIZZLE_R)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_R
References oglplus::R.
|
static |
Gets the swizzle parameter (TEXTURE_SWIZZLE_RGBA)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_RGBA
|
static |
Sets the RGBA swizzle parameter (TEXTURE_SWIZZLE_RGBA)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_RGBA
|
static |
Sets the RGBA swizzle parameters (TEXTURE_SWIZZLE_RGBA)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_RGBA
|
static |
Sets the RGBA swizzle parameters (TEXTURE_SWIZZLE_RGBA)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_RGBA
|
inherited |
References and reinteprets a subset of the data of another texture.
Requires OpenGL 4.3 or the GL_ARB_texture_view extension.
References oglplus::GetGLName().
|
static |
Returns the width of the texture as it was specified by *Image*D.
GL_TEXTURE_WIDTH
|
static |
Gets the wrap parameter (TEXTURE_WRAP_*)
|
static |
Sets the wrap parameter (TEXTURE_WRAP_*)
|
static |
Gets the wrap parameter (TEXTURE_WRAP_R)
GL_TEXTURE_WRAP_R
References oglplus::R.
|
static |
Sets the wrap parameter (TEXTURE_WRAP_R)
GL_TEXTURE_WRAP_R
References oglplus::R.
|
static |
Gets the wrap parameter (TEXTURE_WRAP_S)
GL_TEXTURE_WRAP_S
References oglplus::S.
|
static |
Sets the wrap parameter (TEXTURE_WRAP_S)
GL_TEXTURE_WRAP_S
References oglplus::S.
|
static |
Gets the wrap parameter (TEXTURE_WRAP_T)
GL_TEXTURE_WRAP_T
References oglplus::T.
|
static |
Sets the wrap parameter (TEXTURE_WRAP_T)
GL_TEXTURE_WRAP_T
References oglplus::T.