Wrapper for texture and texture unit-related operations. More...
#include </home/chochlik/devel/oglplus/include/oglplus/texture.hpp>
Public Types | |
typedef TextureTarget | Target |
Texture bind and image specification targets. More... | |
Public Member Functions | |
void | Bind (Target target) const |
Bind the texture to the target on the Active unit. 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, const TextureOps &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 void | Unbind (Target target) |
Unbinds the current texture from the target on the Active unit. More... | |
static void | Bind (GLuint first, GLsizei count, const GLuint *names) |
Bind the specified textures to the specified texture units. More... | |
static void | BindImage (GLuint first, GLsizei count, const GLuint *names) |
Bind the specified texture images to the specified texture units. More... | |
static void | Active (TextureUnitSelector index) |
Specify active texture unit for subsequent commands. More... | |
static GLint | Active (void) |
Returns active texture unit. More... | |
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, Property::PixDataType type, GLsizei size, GLvoid *buffer) |
Allows to obtain the texture image in uncompressed form. More... | |
template<typename T > | |
static void | GetImage (Target target, GLint level, PixelDataFormat format, std::vector< T > &dest) |
Allows to obtain the texture image in uncompressed 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, const BufferOps &buffer) |
Assigns a buffer storing the texel data to the texture. More... | |
static void | BufferRange (Target target, PixelDataInternalFormat internal_format, const BufferOps &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 Target | CubeMapFace (GLuint face) |
Returns the target for the i-th cube map face (0-5) More... | |
Wrapper for texture and texture unit-related operations.
|
inherited |
Texture bind and image specification targets.
|
staticinherited |
Specify active texture unit for subsequent commands.
Error |
References OGLPLUS_VERIFY.
|
staticinherited |
Returns active texture unit.
Error |
GL_ACTIVE_TEXTURE
References OGLPLUS_VERIFY.
|
staticinherited |
Returns the actual resolution of the ALPHA component.
GL_TEXTURE_ALPHA_SIZE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::AlphaSize().
|
staticinherited |
Returns the data type used to store the ALPHA component.
GL_TEXTURE_ALPHA_TYPE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::AlphaType().
|
staticinherited |
Gets the current anisotropy level.
GL_TEXTURE_MAX_ANISOTROPY_EXT
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Anisotropy().
|
staticinherited |
Sets the anisotropy level.
GL_TEXTURE_MAX_ANISOTROPY_EXT
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Ensures that texture writes have been completed.
Requires the GL_NV_texture_barrier extension.
References OGLPLUS_VERIFY.
|
staticinherited |
Returns the texture base level (TEXTURE_BASE_LEVEL)
GL_TEXTURE_BASE_LEVEL
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::BaseLevel().
|
staticinherited |
Sets the texture base level (TEXTURE_BASE_LEVEL)
GL_TEXTURE_BASE_LEVEL
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
void oglplus::TextureOps::Bind | ( | Target | target) | const |
Bind the texture to the target on the Active unit.
Error |
|
static |
Bind the specified textures to the specified texture units.
Error | Requires OpenGL 4.4 or the GL_ARB_multi_bind extension. |
References OGLPLUS_VERIFY.
void oglplus::TextureOps::BindImage | ( | ImageUnitSelector | unit, |
GLint | level, | ||
bool | layered, | ||
GLint | layer, | ||
AccessSpecifier | access, | ||
ImageUnitFormat | format | ||
) | const |
Binds a level
of this texture to an image unit
.
Requires OpenGL 4.2 or the GL_ARB_shader_image_load_store extension.
References OGLPLUS_CHECK.
|
static |
Bind the specified texture images to the specified texture units.
Error | Requires OpenGL 4.4 or the GL_ARB_multi_bind extension. |
References OGLPLUS_VERIFY.
|
staticinherited |
Returns the actual resolution of the BLUE component.
GL_TEXTURE_BLUE_SIZE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::BlueSize().
|
staticinherited |
Returns the data type used to store the BLUE component.
GL_TEXTURE_BLUE_TYPE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::BlueType().
|
staticinherited |
Gets the texture border color (TEXTURE_BORDER_COLOR)
GL_TEXTURE_BORDER_COLOR
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::BorderColor().
|
staticinherited |
Sets the texture border color (TEXTURE_BORDER_COLOR)
GL_TEXTURE_BORDER_COLOR
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Gets the texture border color (TEXTURE_BORDER_COLOR)
GL_TEXTURE_BORDER_COLOR
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Sets the texture border color (TEXTURE_BORDER_COLOR)
GL_TEXTURE_BORDER_COLOR
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Gets the texture border color (TEXTURE_BORDER_COLOR)
GL_TEXTURE_BORDER_COLOR
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Sets the texture border color (TEXTURE_BORDER_COLOR)
GL_TEXTURE_BORDER_COLOR
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Assigns a buffer storing the texel data to the texture.
Requires OpenGL 3.1.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Buffer().
|
staticinherited |
Assigns a buffer range storing the texel data to the texture.
Requires OpenGL 4.3.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::BufferRange().
void oglplus::TextureOps::ClearImage | ( | GLsizei | level, |
PixelDataFormat | format, | ||
const GLtype * | data | ||
) |
Clears the specified level of texture image.
Requires OpenGL 4.4.
References OGLPLUS_CHECK.
void oglplus::TextureOps::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.
Requires OpenGL 4.4.
References OGLPLUS_CHECK.
|
staticinherited |
Sets the compare function (TEXTURE_COMPARE_FUNC)
GL_TEXTURE_COMPARE_FUNC
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::CompareFunc().
|
staticinherited |
Sets the compare function (TEXTURE_COMPARE_FUNC)
GL_TEXTURE_COMPARE_FUNC
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Gets the compare mode (TEXTURE_COMPARE_MODE)
GL_TEXTURE_COMPARE_MODE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::CompareMode().
|
staticinherited |
Sets the compare mode (TEXTURE_COMPARE_MODE)
GL_TEXTURE_COMPARE_MODE
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Specifies a one dimensional compressed texture image.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::CompressedImage1D().
|
staticinherited |
Specifies a two dimensional compressed texture image.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::CompressedImage2D().
|
staticinherited |
Specifies a three dimensional compressed texture image.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::CompressedImage3D().
|
staticinherited |
Returns the size (in bytes) of the image array if it is compressed.
GL_TEXTURE_COMPRESSED_IMAGE_SIZE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::CompressedImageSize().
|
staticinherited |
Specifies a one dimensional compressed texture sub image.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::CompressedSubImage1D().
|
staticinherited |
Specifies a two dimensional compressed texture sub image.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::CompressedSubImage2D().
|
staticinherited |
Specifies a three dimensional compressed texture sub image.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::CompressedSubImage3D().
|
staticinherited |
Copies a one dimensional texture image from the framebuffer.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::CopyImage1D().
|
staticinherited |
Copies a two dimensional texture image from the framebuffer.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::CopyImage2D().
|
staticinherited |
Copies a one dimensional texture sub image from the framebuffer.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::CopySubImage1D().
|
staticinherited |
Copies a two dimensional texture sub image from the framebuffer.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::CopySubImage2D().
|
staticinherited |
Copies a three dimensional texture sub image from the framebuffer.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::CopySubImage3D().
|
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.
|
staticinherited |
Returns the depth of the texture as it was specified by *Image*D.
GL_TEXTURE_DEPTH
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Depth().
|
staticinherited |
Returns the actual resolution of the DEPTH component.
GL_TEXTURE_DEPTH_SIZE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::DepthSize().
|
staticinherited |
Gets the depth stencil mode parameter (DEPTH_STENCIL_TEXTURE_MODE)
Requires OpenGL 4.3.
GL_DEPTH_STENCIL_TEXTURE_MODE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::DepthStencilMode().
|
staticinherited |
Sets the depth stencil mode (DEPTH_STENCIL_TEXTURE_MODE)
Requires OpenGL 4.3.
GL_DEPTH_STENCIL_TEXTURE_MODE
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Returns the data type used to store the DEPTH component.
GL_TEXTURE_DEPTH_TYPE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::DepthType().
|
staticinherited |
Sets both the minification and magnification filter.
GL_TEXTURE_MIN_FILTER
GL_TEXTURE_MAG_FILTER
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Filter().
|
staticinherited |
Generate mipmap for the texture bound to the specified target.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::GenerateMipmap().
|
staticinherited |
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.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::GetCompressedImage().
|
staticinherited |
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.
|
staticinherited |
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.Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::GetImage(), and oglplus::DefaultTextureOps::GetImage().
|
staticinherited |
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.References oglplus::DefaultTextureOps::GetImage(), and oglplus::T.
|
staticinherited |
Returns the actual resolution of the GREEN component.
GL_TEXTURE_GREEN_SIZE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::GreenSize().
|
staticinherited |
Returns the data type used to store the GREEN component.
GL_TEXTURE_GREEN_TYPE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::GreenType().
|
staticinherited |
Returns the height of the texture as it was specified by *Image*D.
GL_TEXTURE_HEIGHT
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Height().
|
staticinherited |
Specifies a texture image.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Image().
|
staticinherited |
Specifies a texture image.
|
staticinherited |
Specifies a one dimensional texture image.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Image1D().
|
staticinherited |
Specifies a one dimensional texture image.
|
staticinherited |
Specifies a two dimensional texture image.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Image2D().
|
staticinherited |
Specifies a two dimensional texture image.
|
staticinherited |
Sets-up a two dimensional multisample texture.
Requires OpenGL 3.2 or the GL_ARB_texture_multisample extension.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Image2DMultisample().
|
staticinherited |
Specifies a three dimensional texture image.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Image3D().
|
staticinherited |
Specifies a three dimensional texture image.
|
staticinherited |
Sets-up a three dimensional multisample texture.
Requires OpenGL 3.2 or the GL_ARB_texture_multisample extension.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Image3DMultisample().
|
staticinherited |
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
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
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
|
staticinherited |
Returns the internal data format of the image array.
GL_TEXTURE_INTERNAL_FORMAT
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::InternalFormat().
void oglplus::TextureOps::InvalidateImage | ( | GLsizei | level) |
Invalidates the specified level of texture image.
Requires OpenGL 4.3.
References OGLPLUS_CHECK.
void oglplus::TextureOps::InvalidateSubImage | ( | GLsizei | level, |
GLint | xoffs, | ||
GLint | yoffs, | ||
GLint | zoffs, | ||
GLsizei | width, | ||
GLsizei | height, | ||
GLsizei | depth | ||
) |
Invalidates the specified part of texture image.
Requires OpenGL 4.3.
References OGLPLUS_CHECK.
|
staticinherited |
Gets the LOD bias value (TEXTURE_LOD_BIAS)
GL_TEXTURE_LOD_BIAS
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::LODBias().
|
staticinherited |
Sets the LOD bias value (TEXTURE_LOD_BIAS)
GL_TEXTURE_LOD_BIAS
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Gets the magnification filter (TEXTURE_MAG_FILTER)
GL_TEXTURE_MAG_FILTER
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::MagFilter().
|
staticinherited |
Sets the magnification filter (TEXTURE_MAG_FILTER)
GL_TEXTURE_MAG_FILTER
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Gets the maximum anisotropy level.
GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::MaxAnisotropy().
|
staticinherited |
Gets maximum level value (TEXTURE_MAX_LEVEL)
GL_TEXTURE_MAX_LEVEL
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::MaxLevel().
|
staticinherited |
Sets maximum level value (TEXTURE_MAX_LEVEL)
GL_TEXTURE_MAX_LEVEL
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Gets maximum LOD value (TEXTURE_MAX_LOD)
GL_TEXTURE_MAX_LOD
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::MaxLOD().
|
staticinherited |
Sets maximum LOD value (TEXTURE_MAX_LOD)
GL_TEXTURE_MAX_LOD
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Gets the minification filter (TEXTURE_MIN_FILTER)
GL_TEXTURE_MIN_FILTER
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::MinFilter().
|
staticinherited |
Sets the minification filter (TEXTURE_MIN_FILTER)
GL_TEXTURE_MIN_FILTER
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Gets minimal LOD value (TEXTURE_MIN_LOD)
GL_TEXTURE_MIN_LOD
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::MinLOD().
|
staticinherited |
Sets minimal LOD value (TEXTURE_MIN_LOD)
GL_TEXTURE_MIN_LOD
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Returns the actual resolution of the RED component.
GL_TEXTURE_RED_SIZE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::RedSize().
|
staticinherited |
Returns the data type used to store the RED component.
GL_TEXTURE_RED_TYPE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::RedType().
|
staticinherited |
Gets the seamless cubemap setting value.
Requires the GL_ARB_seamless_cubemap_per_texture extension.
GL_TEXTURE_CUBE_MAP_SEAMLESS
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Seamless().
|
staticinherited |
Sets the seamless cubemap setting.
Requires the GL_ARB_seamless_cubemap_per_texture extension.
GL_TEXTURE_CUBE_MAP_SEAMLESS
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Returns the size of all texture components.
GL_TEXTURE_SHARED_SIZE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::SharedSize().
|
staticinherited |
Returns the actual resolution of the STENCIL component.
GL_TEXTURE_STENCIL_SIZE
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::StencilSize().
|
staticinherited |
Specifies all levels of 1D texture at the same time.
Requires OpenGL 4.2 or the GL_ARB_texture_storage extension.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Storage1D().
|
staticinherited |
Specifies all levels of 2D texture at the same time.
Requires OpenGL 4.2 or the GL_ARB_texture_storage extension.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Storage2D().
|
staticinherited |
Specifies all levels of 3D texture at the same time.
Requires OpenGL 4.2 or the GL_ARB_texture_storage extension.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Storage3D().
|
staticinherited |
Specifies a one dimensional texture sub image.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::SubImage1D().
|
staticinherited |
Specifies a two dimensional texture sub image.
|
staticinherited |
Specifies a two dimensional texture sub image.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::SubImage2D().
|
staticinherited |
Specifies a two dimensional texture sub image.
|
staticinherited |
Specifies a three dimensional texture sub image.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::SubImage3D().
|
staticinherited |
Specifies a three dimensional texture sub image.
|
staticinherited |
Gets the swizzle parameter (TEXTURE_SWIZZLE_*)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Swizzle(), oglplus::DefaultTextureOps::SwizzleA(), oglplus::DefaultTextureOps::SwizzleB(), oglplus::DefaultTextureOps::SwizzleG(), and oglplus::DefaultTextureOps::SwizzleR().
|
staticinherited |
Sets the swizzle parameter (TEXTURE_SWIZZLE_*)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
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, and oglplus::DefaultTextureOps::Swizzle().
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::SwizzleA().
|
staticinherited |
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, and oglplus::DefaultTextureOps::Swizzle().
|
staticinherited |
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, and oglplus::DefaultTextureOps::Swizzle().
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::SwizzleB().
|
staticinherited |
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, and oglplus::DefaultTextureOps::Swizzle().
|
staticinherited |
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, and oglplus::DefaultTextureOps::Swizzle().
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::SwizzleG().
|
staticinherited |
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, and oglplus::DefaultTextureOps::Swizzle().
|
staticinherited |
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, and oglplus::DefaultTextureOps::Swizzle().
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::SwizzleR().
|
staticinherited |
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, and oglplus::DefaultTextureOps::Swizzle().
|
staticinherited |
Gets the swizzle parameter (TEXTURE_SWIZZLE_RGBA)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_RGBA
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::SwizzleRGBA().
|
staticinherited |
Sets the RGBA swizzle parameter (TEXTURE_SWIZZLE_RGBA)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_RGBA
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Sets the RGBA swizzle parameters (TEXTURE_SWIZZLE_RGBA)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_RGBA
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Sets the RGBA swizzle parameters (TEXTURE_SWIZZLE_RGBA)
Requires OpenGL 3.3 or the GL_ARB_texture_swizzle extension.
GL_TEXTURE_SWIZZLE_RGBA
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
static |
Unbinds the current texture from the target on the Active unit.
Error |
References OGLPLUS_VERIFY.
void oglplus::TextureOps::View | ( | Target | target, |
const TextureOps & | 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.
Requires OpenGL 4.3 or the GL_ARB_texture_view extension.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::View().
|
staticinherited |
Returns the width of the texture as it was specified by *Image*D.
GL_TEXTURE_WIDTH
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Width().
|
staticinherited |
Gets the wrap parameter (TEXTURE_WRAP_*)
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::Wrap(), oglplus::DefaultTextureOps::WrapR(), oglplus::DefaultTextureOps::WrapS(), and oglplus::DefaultTextureOps::WrapT().
|
staticinherited |
Sets the wrap parameter (TEXTURE_WRAP_*)
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
|
staticinherited |
Gets the wrap parameter (TEXTURE_WRAP_R)
GL_TEXTURE_WRAP_R
References oglplus::R, and oglplus::DefaultTextureOps::Wrap().
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::WrapR().
|
staticinherited |
Sets the wrap parameter (TEXTURE_WRAP_R)
GL_TEXTURE_WRAP_R
References oglplus::R, and oglplus::DefaultTextureOps::Wrap().
|
staticinherited |
Gets the wrap parameter (TEXTURE_WRAP_S)
GL_TEXTURE_WRAP_S
References oglplus::S, and oglplus::DefaultTextureOps::Wrap().
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::WrapS().
|
staticinherited |
Sets the wrap parameter (TEXTURE_WRAP_S)
GL_TEXTURE_WRAP_S
References oglplus::S, and oglplus::DefaultTextureOps::Wrap().
|
staticinherited |
Gets the wrap parameter (TEXTURE_WRAP_T)
GL_TEXTURE_WRAP_T
References oglplus::T, and oglplus::DefaultTextureOps::Wrap().
Referenced by oglplus::BoundTemplate< Base, BaseParam, TextureOps >::WrapT().
|
staticinherited |
Sets the wrap parameter (TEXTURE_WRAP_T)
GL_TEXTURE_WRAP_T
References oglplus::T, and oglplus::DefaultTextureOps::Wrap().