14 #ifndef OGLPLUS_BOUND_TEXTURE_1107121519_HPP
15 #define OGLPLUS_BOUND_TEXTURE_1107121519_HPP
41 typedef ExplicitOps::Target Target;
47 BoundObjOps(Target init_tgt)
58 return ExplicitOps::GetIntParam(
72 return ExplicitOps::GetFloatParam(
87 return ExplicitOps::GetIntParam(
103 return ExplicitOps::GetFloatParam(
118 return ExplicitOps::Width(
132 return ExplicitOps::Height(
160 return ExplicitOps::RedType(
174 return ExplicitOps::GreenType(
188 return ExplicitOps::BlueType(
202 return ExplicitOps::AlphaType(
216 return ExplicitOps::DepthType(
230 return ExplicitOps::RedSize(
244 return ExplicitOps::GreenSize(
258 return ExplicitOps::BlueSize(
272 return ExplicitOps::AlphaSize(
286 return ExplicitOps::DepthSize(
300 return ExplicitOps::StencilSize(
314 return ExplicitOps::SharedSize(
328 return ExplicitOps::CompressedImageSize(
355 ExplicitOps::Property::PixDataType type,
360 ExplicitOps::GetImage(
375 template <
typename T>
379 std::vector< T > & dest
382 ExplicitOps::GetImage(
401 ExplicitOps::GetCompressedImage(
416 std::vector< GLubyte > & dest
419 ExplicitOps::GetCompressedImage(
439 ExplicitOps::Property::PixDataType type,
490 ExplicitOps::Property::PixDataType type,
494 ExplicitOps::SubImage3D(
522 ExplicitOps::SubImage3D(
544 ExplicitOps::Property::PixDataType type,
592 ExplicitOps::Property::PixDataType type,
596 ExplicitOps::SubImage2D(
621 ExplicitOps::SubImage2D(
641 ExplicitOps::Property::PixDataType type,
686 ExplicitOps::Property::PixDataType type,
690 ExplicitOps::SubImage1D(
712 ExplicitOps::SubImage1D(
745 const images::ImageSpec & image_spec,
773 ExplicitOps::CopyImage2D(
799 ExplicitOps::CopyImage1D(
826 ExplicitOps::CopySubImage3D(
854 ExplicitOps::CopySubImage2D(
879 ExplicitOps::CopySubImage1D(
905 ExplicitOps::CompressedImage3D(
933 ExplicitOps::CompressedImage2D(
959 ExplicitOps::CompressedImage1D(
988 ExplicitOps::CompressedSubImage3D(
1019 ExplicitOps::CompressedSubImage2D(
1046 ExplicitOps::CompressedSubImage1D(
1058 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_2 || GL_ARB_texture_multisample
1069 bool fixed_sample_locations
1072 ExplicitOps::Image3DMultisample(
1079 fixed_sample_locations
1083 #endif // GL_VERSION_3_2 GL_ARB_texture_multisample
1085 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_2 || GL_ARB_texture_multisample
1095 bool fixed_sample_locations
1104 fixed_sample_locations
1108 #endif // GL_VERSION_3_2 GL_ARB_texture_multisample
1110 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_1
1127 #endif // GL_VERSION_3_1
1129 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_3
1141 ExplicitOps::BufferRange(
1150 #endif // GL_VERSION_4_3
1152 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_2 || GL_ARB_texture_storage
1163 ExplicitOps::Storage1D(
1171 #endif // GL_VERSION_4_2 GL_ARB_texture_storage
1173 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_2 || GL_ARB_texture_storage
1185 ExplicitOps::Storage2D(
1194 #endif // GL_VERSION_4_2 GL_ARB_texture_storage
1196 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_2 || GL_ARB_texture_storage
1209 ExplicitOps::Storage3D(
1219 #endif // GL_VERSION_4_2 GL_ARB_texture_storage
1227 return ExplicitOps::BaseLevel(
1240 ExplicitOps::BaseLevel(
1255 return ExplicitOps::BorderColor(
1269 ExplicitOps::BorderColor(
1284 return ExplicitOps::BorderColor(
1298 ExplicitOps::BorderColor(
1313 return ExplicitOps::BorderColor(
1327 ExplicitOps::BorderColor(
1340 return ExplicitOps::CompareMode(
1353 ExplicitOps::CompareMode(
1366 return ExplicitOps::CompareFunc(
1379 ExplicitOps::CompareFunc(
1392 return ExplicitOps::LODBias(
1405 ExplicitOps::LODBias(
1420 ExplicitOps::Filter(
1433 return ExplicitOps::MagFilter(
1446 ExplicitOps::MagFilter(
1459 return ExplicitOps::MinFilter(
1472 ExplicitOps::MinFilter(
1485 return ExplicitOps::MinLOD(
1498 ExplicitOps::MinLOD(
1511 return ExplicitOps::MaxLOD(
1524 ExplicitOps::MaxLOD(
1537 return ExplicitOps::MaxLevel(
1550 ExplicitOps::MaxLevel(
1563 return ExplicitOps::MaxAnisotropy(
1574 return ExplicitOps::Anisotropy(
1587 ExplicitOps::Anisotropy(
1594 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1603 return ExplicitOps::Swizzle(
1608 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1610 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1620 ExplicitOps::Swizzle(
1627 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1629 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1636 return ExplicitOps::SwizzleR(
1640 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1642 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1651 ExplicitOps::SwizzleR(
1657 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1659 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1666 return ExplicitOps::SwizzleG(
1670 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1672 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1681 ExplicitOps::SwizzleG(
1687 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1689 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1696 return ExplicitOps::SwizzleB(
1700 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1702 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1711 ExplicitOps::SwizzleB(
1717 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1719 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1726 return ExplicitOps::SwizzleA(
1730 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1732 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1741 ExplicitOps::SwizzleA(
1747 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1749 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1756 return ExplicitOps::SwizzleRGBA(
1760 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1762 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1771 ExplicitOps::SwizzleRGBA(
1777 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1779 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1791 ExplicitOps::SwizzleRGBA(
1800 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1802 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1811 ExplicitOps::SwizzleRGBA(
1817 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1827 return ExplicitOps::Wrap(
1856 return ExplicitOps::WrapS(
1882 return ExplicitOps::WrapT(
1908 return ExplicitOps::WrapR(
1928 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_3
1935 return ExplicitOps::DepthStencilMode(
1939 #endif // GL_VERSION_4_3
1941 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_3
1950 ExplicitOps::DepthStencilMode(
1956 #endif // GL_VERSION_4_3
1958 #if OGLPLUS_DOCUMENTATION_ONLY || GL_ARB_seamless_cubemap_per_texture
1965 return ExplicitOps::Seamless(
1969 #endif // GL_ARB_seamless_cubemap_per_texture
1971 #if OGLPLUS_DOCUMENTATION_ONLY || GL_ARB_seamless_cubemap_per_texture
1980 ExplicitOps::Seamless(
1986 #endif // GL_ARB_seamless_cubemap_per_texture
1994 ExplicitOps::GenerateMipmap(
2005 #endif // include guard
const BoundObjOps & WrapT(TextureWrap mode) const
Definition: texture.hpp:1891
TextureSwizzle SwizzleG(void) const
Definition: texture.hpp:1664
const BoundObjOps & SwizzleR(TextureSwizzle mode) const
Definition: texture.hpp:1647
TextureSwizzle SwizzleA(void) const
Definition: texture.hpp:1724
const BoundObjOps & Image1D(GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLint border, PixelDataFormat format, ExplicitOps::Property::PixDataType type, const void *data) const
Definition: texture.hpp:635
GLsizei Depth(GLint level=0) const
Definition: texture.hpp:142
const BoundObjOps & Image2DMultisample(GLsizei samples, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, bool fixed_sample_locations) const
Definition: texture.hpp:1090
TextureSwizzle
Texture swizzle enumeration.
Definition: texture_swizzle.hpp:53
Vector< GLfloat, 4 > BorderColor(TypeTag< GLfloat > _auto_param_2) const
Definition: texture.hpp:1251
const BoundObjOps & SwizzleA(TextureSwizzle mode) const
Definition: texture.hpp:1737
TextureSwizzle Swizzle(TextureSwizzleCoord coord) const
Definition: texture.hpp:1599
const BoundObjOps & Wrap(TextureWrapCoord coord, TextureWrap mode) const
Definition: texture.hpp:1837
GLsizei SharedSize(GLint level=0) const
Definition: texture.hpp:310
Object< TextureOps > Texture
An oglplus_object encapsulating the texture object functionality.
Definition: texture.hpp:3217
TextureWrap WrapR(void) const
Definition: texture.hpp:1906
const BoundObjOps & WrapR(TextureWrap mode) const
Definition: texture.hpp:1917
TextureFilter
Texture filter enumeration.
Definition: texture_filter.hpp:29
TextureMagFilter MagFilter(void) const
Definition: texture.hpp:1431
PixelDataInternalFormat
OpenGL pixel data internal format enumeration.
Definition: pixel_data.hpp:79
const BoundObjOps & GetImage(GLint level, PixelDataFormat format, ExplicitOps::Property::PixDataType type, GLsizei size, GLvoid *buffer) const
Definition: texture.hpp:352
GLint MaxLevel(void) const
Definition: texture.hpp:1535
TextureMinFilter
Texture minification filter enumeration.
Definition: texture_filter.hpp:71
GLfloat LODBias(void) const
Definition: texture.hpp:1390
const BoundObjOps & Image1D(const images::Image &image, GLint level=0, GLint border=0) const
Definition: texture.hpp:662
GLsizei AlphaSize(GLint level=0) const
Definition: texture.hpp:268
const BoundObjOps & SubImage1D(const images::Image &image, GLint xoffs, GLint level=0) const
Definition: texture.hpp:706
TextureWrap WrapS(void) const
Definition: texture.hpp:1854
const BoundObjOps & SwizzleRGBA(TextureSwizzle mode) const
Definition: texture.hpp:1767
TextureWrap Wrap(TextureWrapCoord coord) const
Definition: texture.hpp:1823
A tag template used mainly for data-type-based function overload dispatching.
Definition: data_type.hpp:23
const BoundObjOps & Image3DMultisample(GLsizei samples, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLsizei depth, bool fixed_sample_locations) const
Definition: texture.hpp:1063
const BoundObjOps & Storage2D(GLsizei levels, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height) const
Definition: texture.hpp:1178
PixelDataType AlphaType(GLint level=0) const
Definition: texture.hpp:198
TextureMinFilter MinFilter(void) const
Definition: texture.hpp:1457
const BoundObjOps & BufferRange(PixelDataInternalFormat internal_format, BufferName buffer, GLintptr offset, GLsizeiptr size) const
Definition: texture.hpp:1134
const BoundObjOps & SubImage1D(GLint level, GLint xoffs, GLsizei width, PixelDataFormat format, ExplicitOps::Property::PixDataType type, const void *data) const
Definition: texture.hpp:681
GLfloat GetFloatParam(GLint level, GLenum query) const
Definition: texture.hpp:98
const BoundObjOps & BorderColor(Vector< GLfloat, 4 > color) const
Definition: texture.hpp:1265
GLsizei CompressedImageSize(GLint level=0) const
Definition: texture.hpp:324
bool Seamless(void) const
Definition: texture.hpp:1963
const BoundObjOps & GenerateMipmap(void) const
Definition: texture.hpp:1992
TextureMagFilter
Texture magnification filter enumeration.
Definition: texture_filter.hpp:50
Implements operations applicable to named (non-zero) objects.
Definition: wrap_tpl.hpp:45
const BoundObjOps & CopySubImage2D(GLint level, GLint xoffs, GLint yoffs, GLint x, GLint y, GLsizei width, GLsizei height) const
Definition: texture.hpp:844
const BoundObjOps & Storage1D(GLsizei levels, PixelDataInternalFormat internal_format, GLsizei width) const
Definition: texture.hpp:1157
TextureWrap
Texture wrap enumeration.
Definition: texture_wrap.hpp:51
const BoundObjOps & CompareMode(TextureCompareMode mode) const
Definition: texture.hpp:1349
const BoundObjOps & Image2D(const images::Image &image, GLint level=0, GLint border=0) const
Definition: texture.hpp:566
const BoundObjOps & Seamless(bool enable) const
Definition: texture.hpp:1976
PixelDataType
OpenGL pixel data type enumeration.
Definition: pixel_data.hpp:29
TextureCompareMode CompareMode(void) const
Definition: texture.hpp:1338
const BoundObjOps & SwizzleG(TextureSwizzle mode) const
Definition: texture.hpp:1677
A tuple of swizzle values for all texture components.
Definition: texture_swizzle.hpp:67
const BoundObjOps & SubImage2D(GLint level, GLint xoffs, GLint yoffs, GLsizei width, GLsizei height, PixelDataFormat format, ExplicitOps::Property::PixDataType type, const void *data) const
Definition: texture.hpp:585
PixelDataType BlueType(GLint level=0) const
Definition: texture.hpp:184
const BoundObjOps & CompressedImage1D(GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLint border, GLsizei image_size, const void *data) const
Definition: texture.hpp:950
GLsizei Width(GLint level=0) const
Definition: texture.hpp:114
const BoundObjOps & Swizzle(TextureSwizzleCoord coord, TextureSwizzle mode) const
Definition: texture.hpp:1615
const BoundObjOps & Buffer(PixelDataInternalFormat internal_format, BufferName buffer) const
Definition: texture.hpp:1115
const BoundObjOps & Anisotropy(GLfloat value) const
Definition: texture.hpp:1583
const BoundObjOps & CopyImage2D(GLint level, PixelDataInternalFormat internal_format, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) const
Definition: texture.hpp:763
const BoundObjOps & Storage3D(GLsizei levels, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLsizei depth) const
Definition: texture.hpp:1201
GLfloat MinLOD(void) const
Definition: texture.hpp:1483
const BoundObjOps & BaseLevel(GLuint level) const
Definition: texture.hpp:1236
GLfloat Anisotropy(void) const
Definition: texture.hpp:1572
PixelDataFormat
OpenGL pixel data format enumeration.
Definition: pixel_data.hpp:50
const BoundObjOps & Filter(TextureFilter filter) const
Definition: texture.hpp:1416
GLfloat GetFloatParam(GLenum query) const
Definition: texture.hpp:68
TextureCompareMode
Texture compare mode enumeration.
Definition: texture_compare.hpp:29
const BoundObjOps & Image3D(GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLsizei depth, GLint border, PixelDataFormat format, ExplicitOps::Property::PixDataType type, const void *data) const
Definition: texture.hpp:431
const BoundObjOps & CopySubImage1D(GLint level, GLint xoffs, GLint x, GLint y, GLsizei width) const
Definition: texture.hpp:871
const BoundObjOps & CompareFunc(CompareFunction func) const
Definition: texture.hpp:1375
GLsizei StencilSize(GLint level=0) const
Definition: texture.hpp:296
const BoundObjOps & DepthStencilMode(PixelDataFormat mode) const
Definition: texture.hpp:1946
const BoundObjOps & Image2D(GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLint border, PixelDataFormat format, ExplicitOps::Property::PixDataType type, const void *data) const
Definition: texture.hpp:537
GLsizei Height(GLint level=0) const
Definition: texture.hpp:128
PixelDataInternalFormat InternalFormat
Alias for PixelDataInternalFormat.
Definition: pixel_data.hpp:95
const BoundObjOps & Image(const images::ImageSpec &image_spec, GLint level=0, GLint border=0) const
Definition: texture.hpp:744
const BoundObjOps & CompressedSubImage2D(GLint level, GLint xoffs, GLint yoffs, GLsizei width, GLsizei height, PixelDataFormat format, GLsizei image_size, const void *data) const
Definition: texture.hpp:1008
const BoundObjOps & MagFilter(TextureMagFilter filter) const
Definition: texture.hpp:1442
const BoundObjOps & BorderColor(Vector< GLint, 4 > color) const
Definition: texture.hpp:1294
PixelDataType DepthType(GLint level=0) const
Definition: texture.hpp:212
TextureSwizzleTuple SwizzleRGBA(void) const
Definition: texture.hpp:1754
const BoundObjOps & CompressedSubImage3D(GLint level, GLint xoffs, GLint yoffs, GLint zoffs, GLsizei width, GLsizei height, GLsizei depth, PixelDataFormat format, GLsizei image_size, const void *data) const
Definition: texture.hpp:975
const BoundObjOps & WrapS(TextureWrap mode) const
Definition: texture.hpp:1865
const BoundObjOps & BorderColor(Vector< GLuint, 4 > color) const
Definition: texture.hpp:1323
PixelDataInternalFormat InternalFormat(GLint level=0) const
Definition: texture.hpp:338
GLsizei DepthSize(GLint level=0) const
Definition: texture.hpp:282
const BoundObjOps & CompressedImage2D(GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLint border, GLsizei image_size, const void *data) const
Definition: texture.hpp:923
const BoundObjOps & MinFilter(TextureMinFilter filter) const
Definition: texture.hpp:1468
Vector< GLint, 4 > BorderColor(TypeTag< GLint > _auto_param_2) const
Definition: texture.hpp:1280
TextureSwizzle SwizzleB(void) const
Definition: texture.hpp:1694
const BoundObjOps & SwizzleRGBA(TextureSwizzle mode_r, TextureSwizzle mode_g, TextureSwizzle mode_b, TextureSwizzle mode_a) const
Definition: texture.hpp:1784
const BoundObjOps & LODBias(GLfloat value) const
Definition: texture.hpp:1401
TextureWrap WrapT(void) const
Definition: texture.hpp:1880
Wrapper for (texture) image data.
Definition: image.hpp:45
Vector< GLuint, 4 > BorderColor(TypeTag< GLuint > _auto_param_2) const
Definition: texture.hpp:1309
Operations on currently bound objects.
const BoundObjOps & GetCompressedImage(GLint level, GLsizei size, GLubyte *buffer) const
Definition: texture.hpp:395
TextureSwizzleCoord
Texture swizzle parameter coordinate enumeration.
Definition: texture_swizzle.hpp:29
const BoundObjOps & GetCompressedImage(GLint level, std::vector< GLubyte > &dest) const
Definition: texture.hpp:414
const BoundObjOps & CopyImage1D(GLint level, PixelDataInternalFormat internal_format, GLint x, GLint y, GLsizei width, GLint border) const
Definition: texture.hpp:790
TextureWrapCoord
Texture wrap parameter coordinate enumeration.
Definition: texture_wrap.hpp:28
PixelDataType RedType(GLint level=0) const
Definition: texture.hpp:156
const BoundObjOps & Image3D(const images::Image &image, GLint level=0, GLint border=0) const
Definition: texture.hpp:462
const BoundObjOps & MaxLOD(GLfloat value) const
Definition: texture.hpp:1520
GLfloat MaxAnisotropy(void) const
Definition: texture.hpp:1561
const BoundObjOps & Image(const images::Image &image, GLint level=0, GLint border=0) const
Definition: texture.hpp:725
const BoundObjOps & SubImage3D(GLint level, GLint xoffs, GLint yoffs, GLint zoffs, GLsizei width, GLsizei height, GLsizei depth, PixelDataFormat format, ExplicitOps::Property::PixDataType type, const void *data) const
Definition: texture.hpp:481
GLint GetIntParam(GLenum query) const
Definition: texture.hpp:54
CompareFunction
Comparison function type enumeration.
Definition: compare_function.hpp:30
GLint GetIntParam(GLint level, GLenum query) const
Definition: texture.hpp:82
const BoundObjOps & CompressedImage3D(GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei image_size, const void *data) const
Definition: texture.hpp:894
const BoundObjOps & SwizzleB(TextureSwizzle mode) const
Definition: texture.hpp:1707
PixelDataFormat DepthStencilMode(void) const
Definition: texture.hpp:1933
const BoundObjOps & CopySubImage3D(GLint level, GLint xoffs, GLint yoffs, GLint zoffs, GLint x, GLint y, GLsizei width, GLsizei height) const
Definition: texture.hpp:815
GLsizei BlueSize(GLint level=0) const
Definition: texture.hpp:254
const BoundObjOps & SwizzleRGBA(const TextureSwizzleTuple &modes) const
Definition: texture.hpp:1807
Basic template for vector types.
Definition: fwd.hpp:43
GLsizei GreenSize(GLint level=0) const
Definition: texture.hpp:240
const BoundObjOps & MinLOD(GLfloat value) const
Definition: texture.hpp:1494
const BoundObjOps & CompressedSubImage1D(GLint level, GLint xoffs, GLsizei width, PixelDataFormat format, GLsizei image_size, const void *data) const
Definition: texture.hpp:1037
const BoundObjOps & MaxLevel(GLint value) const
Definition: texture.hpp:1546
A common template for "named" objects like textures, buffers, etc.
Definition: fwd.hpp:136
GLuint BaseLevel(void) const
Definition: texture.hpp:1225
const BoundObjOps & SubImage2D(const images::Image &image, GLint xoffs, GLint yoffs, GLint level=0) const
Definition: texture.hpp:614
CompareFunction CompareFunc(void) const
Definition: texture.hpp:1364
PixelDataType GreenType(GLint level=0) const
Definition: texture.hpp:170
GLsizei RedSize(GLint level=0) const
Definition: texture.hpp:226
const BoundObjOps & SubImage3D(const images::Image &image, GLint xoffs, GLint yoffs, GLint zoffs, GLint level=0) const
Definition: texture.hpp:514
GLfloat MaxLOD(void) const
Definition: texture.hpp:1509
TextureSwizzle SwizzleR(void) const
Definition: texture.hpp:1634
const BoundObjOps & GetImage(GLint level, PixelDataFormat format, std::vector< T > &dest) const
Definition: texture.hpp:376