Texture File Reference
`#include <osg/GL>`
`#include <osg/Image>`
`#include <osg/StateAttribute>`
`#include <osg/GraphicsContext>`
`#include <osg/ref_ptr>`
`#include <osg/Vec4>`
`#include <osg/Vec4d>`
`#include <osg/Vec4i>`
`#include <osg/buffered_value>`
`#include <osg/GLExtensions>`
`#include <list>`
`#include <map>`

Go to the source code of this file.

## Classes

class | osg::Texture
struct | osg::Texture::TextureProfile
class | osg::Texture::TextureObject
class | osg::TextureObjectSet
class | osg::TextureObjectManager

## Namespaces

namespace | osg

## Macros

#define | OSG_TEXTURE 1
#define | GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
#define | GL_TEXTURE_SWIZZLE_RGBA 0x8E46
#define | GL_COMPRESSED_ALPHA_ARB 0x84E9
#define | GL_COMPRESSED_LUMINANCE_ARB 0x84EA
#define | GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
#define | GL_COMPRESSED_INTENSITY_ARB 0x84EC
#define | GL_COMPRESSED_RGB_ARB 0x84ED
#define | GL_COMPRESSED_RGBA_ARB 0x84EE
#define | GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
#define | GL_TEXTURE_COMPRESSED_ARB 0x86A1
#define | GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
#define | GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
#define | GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
#define | GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
#define | GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
#define | GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
#define | GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
#define | GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
#define | GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
#define | GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
#define | GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
#define | GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
#define | GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
#define | GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
#define | GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
#define | GL_ETC1_RGB8_OES 0x8D64
#define | GL_RGBA32F_ARB 0x8814
#define | GL_RGB32F_ARB 0x8815
#define | GL_ALPHA32F_ARB 0x8816
#define | GL_INTENSITY32F_ARB 0x8817
#define | GL_LUMINANCE32F_ARB 0x8818
#define | GL_LUMINANCE_ALPHA32F_ARB 0x8819
#define | GL_RGBA16F_ARB 0x881A
#define | GL_RGB16F_ARB 0x881B
#define | GL_ALPHA16F_ARB 0x881C
#define | GL_INTENSITY16F_ARB 0x881D
#define | GL_LUMINANCE16F_ARB 0x881E
#define | GL_LUMINANCE_ALPHA16F_ARB 0x881F
#define | GL_HALF_FLOAT 0x140B
#define | GL_HILO_NV 0x86F4
#define | GL_DSDT_NV 0x86F5
#define | GL_DSDT_MAG_NV 0x86F6
#define | GL_DSDT_MAG_VIB_NV 0x86F7
#define | GL_HILO16_NV 0x86F8
#define | GL_SIGNED_HILO_NV 0x86F9
#define | GL_SIGNED_HILO16_NV 0x86FA
#define | GL_SIGNED_RGBA_NV 0x86FB
#define | GL_SIGNED_RGBA8_NV 0x86FC
#define | GL_SIGNED_RGB_NV 0x86FE
#define | GL_SIGNED_RGB8_NV 0x86FF
#define | GL_SIGNED_LUMINANCE_NV 0x8701
#define | GL_SIGNED_LUMINANCE8_NV 0x8702
#define | GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
#define | GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
#define | GL_SIGNED_ALPHA_NV 0x8705
#define | GL_SIGNED_ALPHA8_NV 0x8706
#define | GL_SIGNED_INTENSITY_NV 0x8707
#define | GL_SIGNED_INTENSITY8_NV 0x8708
#define | GL_DSDT8_NV 0x8709
#define | GL_DSDT8_MAG8_NV 0x870A
#define | GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
#define | GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
#define | GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
#define | GL_FLOAT_R_NV 0x8880
#define | GL_FLOAT_RG_NV 0x8881
#define | GL_FLOAT_RGB_NV 0x8882
#define | GL_FLOAT_RGBA_NV 0x8883
#define | GL_FLOAT_R16_NV 0x8884
#define | GL_FLOAT_R32_NV 0x8885
#define | GL_FLOAT_RG16_NV 0x8886
#define | GL_FLOAT_RG32_NV 0x8887
#define | GL_FLOAT_RGB16_NV 0x8888
#define | GL_FLOAT_RGB32_NV 0x8889
#define | GL_FLOAT_RGBA16_NV 0x888A
#define | GL_FLOAT_RGBA32_NV 0x888B
#define | GL_RGBA_FLOAT32_ATI 0x8814
#define | GL_RGB_FLOAT32_ATI 0x8815
#define | GL_ALPHA_FLOAT32_ATI 0x8816
#define | GL_INTENSITY_FLOAT32_ATI 0x8817
#define | GL_LUMINANCE_FLOAT32_ATI 0x8818
#define | GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
#define | GL_RGBA_FLOAT16_ATI 0x881A
#define | GL_RGB_FLOAT16_ATI 0x881B
#define | GL_ALPHA_FLOAT16_ATI 0x881C
#define | GL_INTENSITY_FLOAT16_ATI 0x881D
#define | GL_LUMINANCE_FLOAT16_ATI 0x881E
#define | GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
#define | GL_MIRRORED_REPEAT_IBM 0x8370
#define | GL_CLAMP_TO_EDGE 0x812F
#define | GL_CLAMP 0x2900
#define | GL_CLAMP_TO_BORDER_ARB 0x812D
#define | GL_INTENSITY 0x8049
#define | GL_GENERATE_MIPMAP_SGIS 0x8191
#define | GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
#define | GL_TEXTURE_3D 0x806F
#define | GL_TEXTURE_CUBE_MAP 0x8513
#define | GL_TEXTURE_BINDING_CUBE_MAP 0x8514
#define | GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
#define | GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
#define | GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
#define | GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
#define | GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
#define | GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
#define | GL_PROXY_TEXTURE_CUBE_MAP 0x851B
#define | GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
#define | GL_TEXTURE_BINDING_3D 0x806A
#define | GL_DEPTH_TEXTURE_MODE_ARB 0x884B
#define | GL_TEXTURE_COMPARE_MODE_ARB 0x884C
#define | GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
#define | GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
#define | TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
#define | GL_MAX_TEXTURE_UNITS 0x84E2
#define | GL_TEXTURE_DEPTH 0x8071
#define | GL_TEXTURE_2D_MULTISAMPLE 0x9100
#define | GL_RGBA32UI_EXT 0x8D70
#define | GL_RGB32UI_EXT 0x8D71
#define | GL_ALPHA32UI_EXT 0x8D72
#define | GL_INTENSITY32UI_EXT 0x8D73
#define | GL_LUMINANCE32UI_EXT 0x8D74
#define | GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
#define | GL_RGBA16UI_EXT 0x8D76
#define | GL_RGB16UI_EXT 0x8D77
#define | GL_ALPHA16UI_EXT 0x8D78
#define | GL_INTENSITY16UI_EXT 0x8D79
#define | GL_LUMINANCE16UI_EXT 0x8D7A
#define | GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
#define | GL_RGBA8UI_EXT 0x8D7C
#define | GL_RGB8UI_EXT 0x8D7D
#define | GL_ALPHA8UI_EXT 0x8D7E
#define | GL_INTENSITY8UI_EXT 0x8D7F
#define | GL_LUMINANCE8UI_EXT 0x8D80
#define | GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
#define | GL_RGBA32I_EXT 0x8D82
#define | GL_RGB32I_EXT 0x8D83
#define | GL_ALPHA32I_EXT 0x8D84
#define | GL_INTENSITY32I_EXT 0x8D85
#define | GL_LUMINANCE32I_EXT 0x8D86
#define | GL_LUMINANCE_ALPHA32I_EXT 0x8D87
#define | GL_RGBA16I_EXT 0x8D88
#define | GL_RGB16I_EXT 0x8D89
#define | GL_ALPHA16I_EXT 0x8D8A
#define | GL_INTENSITY16I_EXT 0x8D8B
#define | GL_LUMINANCE16I_EXT 0x8D8C
#define | GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
#define | GL_RGBA8I_EXT 0x8D8E
#define | GL_RGB8I_EXT 0x8D8F
#define | GL_ALPHA8I_EXT 0x8D90
#define | GL_INTENSITY8I_EXT 0x8D91
#define | GL_LUMINANCE8I_EXT 0x8D92
#define | GL_LUMINANCE_ALPHA8I_EXT 0x8D93
#define | GL_RED_INTEGER_EXT 0x8D94
#define | GL_GREEN_INTEGER_EXT 0x8D95
#define | GL_BLUE_INTEGER_EXT 0x8D96
#define | GL_ALPHA_INTEGER_EXT 0x8D97
#define | GL_RGB_INTEGER_EXT 0x8D98
#define | GL_RGBA_INTEGER_EXT 0x8D99
#define | GL_BGR_INTEGER_EXT 0x8D9A
#define | GL_BGRA_INTEGER_EXT 0x8D9B
#define | GL_LUMINANCE_INTEGER_EXT 0x8D9C
#define | GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
#define | GL_RGBA_INTEGER_MODE_EXT 0x8D9E
#define | GL_R3_G3_B2 0x2A10
#define | GL_RGB4 0x804F
#define | GL_RGB5 0x8050
#define | GL_RGB8 0x8051
#define | GL_RGB10 0x8052
#define | GL_RGB12 0x8053
#define | GL_RGB16 0x8054
#define | GL_RGBA2 0x8055
#define | GL_RGBA4 0x8056
#define | GL_RGB5_A1 0x8057
#define | GL_RGBA8 0x8058
#define | GL_RGB10_A2 0x8059
#define | GL_RGBA12 0x805A
#define | GL_RGBA16 0x805B
#define | GL_BGR_EXT 0x80E0
#define | GL_BGRA_EXT 0x80E1
#define | GL_RG 0x8227
#define | GL_RG_INTEGER 0x8228
#define | GL_R8 0x8229
#define | GL_R16 0x822A
#define | GL_RG8 0x822B
#define | GL_RG16 0x822C
#define | GL_R16F 0x822D
#define | GL_R32F 0x822E
#define | GL_RG16F 0x822F
#define | GL_RG32F 0x8230
#define | GL_R8I 0x8231
#define | GL_R8UI 0x8232
#define | GL_R16I 0x8233
#define | GL_R16UI 0x8234
#define | GL_R32I 0x8235
#define | GL_R32UI 0x8236
#define | GL_RG8I 0x8237
#define | GL_RG8UI 0x8238
#define | GL_RG16I 0x8239
#define | GL_RG16UI 0x823A
#define | GL_RG32I 0x823B
#define | GL_RG32UI 0x823C
#define | GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
#define | GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
#define | GL_UNIFORM_BARRIER_BIT 0x00000004
#define | GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
#define | GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
#define | GL_COMMAND_BARRIER_BIT 0x00000040
#define | GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
#define | GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
#define | GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
#define | GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
#define | GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
#define | GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
#define | GL_ALL_BARRIER_BITS 0xFFFFFFFF
#define | GL_MAX_IMAGE_UNITS 0x8F38
#define | GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
#define | GL_IMAGE_BINDING_NAME 0x8F3A
#define | GL_IMAGE_BINDING_LEVEL 0x8F3B
#define | GL_IMAGE_BINDING_LAYERED 0x8F3C
#define | GL_IMAGE_BINDING_LAYER 0x8F3D
#define | GL_IMAGE_BINDING_ACCESS 0x8F3E
#define | GL_IMAGE_1D 0x904C
#define | GL_IMAGE_2D 0x904D
#define | GL_IMAGE_3D 0x904E
#define | GL_IMAGE_2D_RECT 0x904F
#define | GL_IMAGE_CUBE 0x9050
#define | GL_IMAGE_BUFFER 0x9051
#define | GL_IMAGE_1D_ARRAY 0x9052
#define | GL_IMAGE_2D_ARRAY 0x9053
#define | GL_IMAGE_CUBE_MAP_ARRAY 0x9054
#define | GL_IMAGE_2D_MULTISAMPLE 0x9055
#define | GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
#define | GL_INT_IMAGE_1D 0x9057
#define | GL_INT_IMAGE_2D 0x9058
#define | GL_INT_IMAGE_3D 0x9059
#define | GL_INT_IMAGE_2D_RECT 0x905A
#define | GL_INT_IMAGE_CUBE 0x905B
#define | GL_INT_IMAGE_BUFFER 0x905C
#define | GL_INT_IMAGE_1D_ARRAY 0x905D
#define | GL_INT_IMAGE_2D_ARRAY 0x905E
#define | GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
#define | GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
#define | GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
#define | GL_UNSIGNED_INT_IMAGE_1D 0x9062
#define | GL_UNSIGNED_INT_IMAGE_2D 0x9063
#define | GL_UNSIGNED_INT_IMAGE_3D 0x9064
#define | GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
#define | GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
#define | GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
#define | GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
#define | GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
#define | GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
#define | GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
#define | GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
#define | GL_MAX_IMAGE_SAMPLES 0x906D
#define | GL_IMAGE_BINDING_FORMAT 0x906E
#define | GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
#define | GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
#define | GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
#define | GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
#define | GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
#define | GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
#define | GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
#define | GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
#define | GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
#define | LESSTHAN(A, B)
#define | FINALLESSTHAN(A, B)

## Macro Definition Documentation

## FINALLESSTHAN

#define FINALLESSTHAN | ( |  | A,
|  |  | B )

Value:
return (A<B);

Referenced by osg::Texture::TextureProfile::operator<().

## GL_ALL_BARRIER_BITS

#define GL_ALL_BARRIER_BITS 0xFFFFFFFF

## GL_ALPHA16F_ARB

#define GL_ALPHA16F_ARB 0x881C

## GL_ALPHA16I_EXT

#define GL_ALPHA16I_EXT 0x8D8A

## GL_ALPHA16UI_EXT

#define GL_ALPHA16UI_EXT 0x8D78

## GL_ALPHA32F_ARB

#define GL_ALPHA32F_ARB 0x8816

## GL_ALPHA32I_EXT

#define GL_ALPHA32I_EXT 0x8D84

## GL_ALPHA32UI_EXT

#define GL_ALPHA32UI_EXT 0x8D72

## GL_ALPHA8I_EXT

#define GL_ALPHA8I_EXT 0x8D90

## GL_ALPHA8UI_EXT

#define GL_ALPHA8UI_EXT 0x8D7E

## GL_ALPHA_FLOAT16_ATI

#define GL_ALPHA_FLOAT16_ATI 0x881C

## GL_ALPHA_FLOAT32_ATI

#define GL_ALPHA_FLOAT32_ATI 0x8816

## GL_ALPHA_INTEGER_EXT

#define GL_ALPHA_INTEGER_EXT 0x8D97

## GL_ATOMIC_COUNTER_BARRIER_BIT

#define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000

## GL_BGR_EXT

#define GL_BGR_EXT 0x80E0

## GL_BGR_INTEGER_EXT

#define GL_BGR_INTEGER_EXT 0x8D9A

## GL_BGRA_EXT

#define GL_BGRA_EXT 0x80E1

## GL_BGRA_INTEGER_EXT

#define GL_BGRA_INTEGER_EXT 0x8D9B

## GL_BLUE_INTEGER_EXT

#define GL_BLUE_INTEGER_EXT 0x8D96

## GL_BUFFER_UPDATE_BARRIER_BIT

#define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200

## GL_CLAMP

#define GL_CLAMP 0x2900

## GL_CLAMP_TO_BORDER_ARB

#define GL_CLAMP_TO_BORDER_ARB 0x812D

## GL_CLAMP_TO_EDGE

#define GL_CLAMP_TO_EDGE 0x812F

## GL_COMMAND_BARRIER_BIT

#define GL_COMMAND_BARRIER_BIT 0x00000040

## GL_COMPARE_R_TO_TEXTURE_ARB

#define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E

## GL_COMPRESSED_ALPHA_ARB

#define GL_COMPRESSED_ALPHA_ARB 0x84E9

## GL_COMPRESSED_INTENSITY_ARB

#define GL_COMPRESSED_INTENSITY_ARB 0x84EC

## GL_COMPRESSED_LUMINANCE_ALPHA_ARB

#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB

## GL_COMPRESSED_LUMINANCE_ARB

#define GL_COMPRESSED_LUMINANCE_ARB 0x84EA

## GL_COMPRESSED_RED_GREEN_RGTC2_EXT

#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD

## GL_COMPRESSED_RED_RGTC1_EXT

#define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB

## GL_COMPRESSED_RGB_ARB

#define GL_COMPRESSED_RGB_ARB 0x84ED

## GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG

#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01

## GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG

#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00

## GL_COMPRESSED_RGB_S3TC_DXT1_EXT

#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0

## GL_COMPRESSED_RGBA_ARB

#define GL_COMPRESSED_RGBA_ARB 0x84EE

## GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG

#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03

## GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG

#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02

## GL_COMPRESSED_RGBA_S3TC_DXT1_EXT

#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1

## GL_COMPRESSED_RGBA_S3TC_DXT3_EXT

#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2

## GL_COMPRESSED_RGBA_S3TC_DXT5_EXT

#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3

## GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT

#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE

## GL_COMPRESSED_SIGNED_RED_RGTC1_EXT

#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC

## GL_COMPRESSED_TEXTURE_FORMATS_ARB

#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3

## GL_DEPTH_TEXTURE_MODE_ARB

#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B

## GL_DSDT8_MAG8_INTENSITY8_NV

#define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B

## GL_DSDT8_MAG8_NV

#define GL_DSDT8_MAG8_NV 0x870A

## GL_DSDT8_NV

#define GL_DSDT8_NV 0x8709

## GL_DSDT_MAG_NV

#define GL_DSDT_MAG_NV 0x86F6

## GL_DSDT_MAG_VIB_NV

#define GL_DSDT_MAG_VIB_NV 0x86F7

## GL_DSDT_NV

#define GL_DSDT_NV 0x86F5

## GL_ELEMENT_ARRAY_BARRIER_BIT

#define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002

## GL_ETC1_RGB8_OES

#define GL_ETC1_RGB8_OES 0x8D64

## GL_FLOAT_R16_NV

#define GL_FLOAT_R16_NV 0x8884

## GL_FLOAT_R32_NV

#define GL_FLOAT_R32_NV 0x8885

## GL_FLOAT_R_NV

#define GL_FLOAT_R_NV 0x8880

## GL_FLOAT_RG16_NV

#define GL_FLOAT_RG16_NV 0x8886

## GL_FLOAT_RG32_NV

#define GL_FLOAT_RG32_NV 0x8887

## GL_FLOAT_RG_NV

#define GL_FLOAT_RG_NV 0x8881

## GL_FLOAT_RGB16_NV

#define GL_FLOAT_RGB16_NV 0x8888

## GL_FLOAT_RGB32_NV

#define GL_FLOAT_RGB32_NV 0x8889

## GL_FLOAT_RGB_NV

#define GL_FLOAT_RGB_NV 0x8882

## GL_FLOAT_RGBA16_NV

#define GL_FLOAT_RGBA16_NV 0x888A

## GL_FLOAT_RGBA32_NV

#define GL_FLOAT_RGBA32_NV 0x888B

## GL_FLOAT_RGBA_NV

#define GL_FLOAT_RGBA_NV 0x8883

## GL_FRAMEBUFFER_BARRIER_BIT

#define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400

## GL_GENERATE_MIPMAP_HINT_SGIS

#define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192

## GL_GENERATE_MIPMAP_SGIS

#define GL_GENERATE_MIPMAP_SGIS 0x8191

## GL_GREEN_INTEGER_EXT

#define GL_GREEN_INTEGER_EXT 0x8D95

## GL_HALF_FLOAT

#define GL_HALF_FLOAT 0x140B

## GL_HILO16_NV

#define GL_HILO16_NV 0x86F8

## GL_HILO_NV

#define GL_HILO_NV 0x86F4

## GL_IMAGE_1D

#define GL_IMAGE_1D 0x904C

## GL_IMAGE_1D_ARRAY

#define GL_IMAGE_1D_ARRAY 0x9052

## GL_IMAGE_2D

#define GL_IMAGE_2D 0x904D

## GL_IMAGE_2D_ARRAY

#define GL_IMAGE_2D_ARRAY 0x9053

## GL_IMAGE_2D_MULTISAMPLE

#define GL_IMAGE_2D_MULTISAMPLE 0x9055

## GL_IMAGE_2D_MULTISAMPLE_ARRAY

#define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056

## GL_IMAGE_2D_RECT

#define GL_IMAGE_2D_RECT 0x904F

## GL_IMAGE_3D

#define GL_IMAGE_3D 0x904E

## GL_IMAGE_BINDING_ACCESS

#define GL_IMAGE_BINDING_ACCESS 0x8F3E

## GL_IMAGE_BINDING_FORMAT

#define GL_IMAGE_BINDING_FORMAT 0x906E

## GL_IMAGE_BINDING_LAYER

#define GL_IMAGE_BINDING_LAYER 0x8F3D

## GL_IMAGE_BINDING_LAYERED

#define GL_IMAGE_BINDING_LAYERED 0x8F3C

## GL_IMAGE_BINDING_LEVEL

#define GL_IMAGE_BINDING_LEVEL 0x8F3B

## GL_IMAGE_BINDING_NAME

#define GL_IMAGE_BINDING_NAME 0x8F3A

## GL_IMAGE_BUFFER

#define GL_IMAGE_BUFFER 0x9051

## GL_IMAGE_CUBE

#define GL_IMAGE_CUBE 0x9050

## GL_IMAGE_CUBE_MAP_ARRAY

#define GL_IMAGE_CUBE_MAP_ARRAY 0x9054

## GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS

#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9

## GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE

#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8

## GL_IMAGE_FORMAT_COMPATIBILITY_TYPE

#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7

## GL_INT_IMAGE_1D

#define GL_INT_IMAGE_1D 0x9057

## GL_INT_IMAGE_1D_ARRAY

#define GL_INT_IMAGE_1D_ARRAY 0x905D

## GL_INT_IMAGE_2D

#define GL_INT_IMAGE_2D 0x9058

## GL_INT_IMAGE_2D_ARRAY

#define GL_INT_IMAGE_2D_ARRAY 0x905E

## GL_INT_IMAGE_2D_MULTISAMPLE

#define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060

## GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY

#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061

## GL_INT_IMAGE_2D_RECT

#define GL_INT_IMAGE_2D_RECT 0x905A

## GL_INT_IMAGE_3D

#define GL_INT_IMAGE_3D 0x9059

## GL_INT_IMAGE_BUFFER

#define GL_INT_IMAGE_BUFFER 0x905C

## GL_INT_IMAGE_CUBE

#define GL_INT_IMAGE_CUBE 0x905B

## GL_INT_IMAGE_CUBE_MAP_ARRAY

#define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F

## GL_INTENSITY

#define GL_INTENSITY 0x8049

Referenced by osg::_readRow().

## GL_INTENSITY16F_ARB

#define GL_INTENSITY16F_ARB 0x881D

## GL_INTENSITY16I_EXT

#define GL_INTENSITY16I_EXT 0x8D8B

## GL_INTENSITY16UI_EXT

#define GL_INTENSITY16UI_EXT 0x8D79

## GL_INTENSITY32F_ARB

#define GL_INTENSITY32F_ARB 0x8817

## GL_INTENSITY32I_EXT

#define GL_INTENSITY32I_EXT 0x8D85

## GL_INTENSITY32UI_EXT

#define GL_INTENSITY32UI_EXT 0x8D73

## GL_INTENSITY8I_EXT

#define GL_INTENSITY8I_EXT 0x8D91

## GL_INTENSITY8UI_EXT

#define GL_INTENSITY8UI_EXT 0x8D7F

## GL_INTENSITY_FLOAT16_ATI

#define GL_INTENSITY_FLOAT16_ATI 0x881D

## GL_INTENSITY_FLOAT32_ATI

#define GL_INTENSITY_FLOAT32_ATI 0x8817

## GL_LUMINANCE16F_ARB

#define GL_LUMINANCE16F_ARB 0x881E

## GL_LUMINANCE16I_EXT

#define GL_LUMINANCE16I_EXT 0x8D8C

## GL_LUMINANCE16UI_EXT

#define GL_LUMINANCE16UI_EXT 0x8D7A

## GL_LUMINANCE32F_ARB

#define GL_LUMINANCE32F_ARB 0x8818

## GL_LUMINANCE32I_EXT

#define GL_LUMINANCE32I_EXT 0x8D86

## GL_LUMINANCE32UI_EXT

#define GL_LUMINANCE32UI_EXT 0x8D74

## GL_LUMINANCE8I_EXT

#define GL_LUMINANCE8I_EXT 0x8D92

## GL_LUMINANCE8UI_EXT

#define GL_LUMINANCE8UI_EXT 0x8D80

## GL_LUMINANCE_ALPHA16F_ARB

#define GL_LUMINANCE_ALPHA16F_ARB 0x881F

## GL_LUMINANCE_ALPHA16I_EXT

#define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D

## GL_LUMINANCE_ALPHA16UI_EXT

#define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B

## GL_LUMINANCE_ALPHA32F_ARB

#define GL_LUMINANCE_ALPHA32F_ARB 0x8819

## GL_LUMINANCE_ALPHA32I_EXT

#define GL_LUMINANCE_ALPHA32I_EXT 0x8D87

## GL_LUMINANCE_ALPHA32UI_EXT

#define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75

## GL_LUMINANCE_ALPHA8I_EXT

#define GL_LUMINANCE_ALPHA8I_EXT 0x8D93

## GL_LUMINANCE_ALPHA8UI_EXT

#define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81

## GL_LUMINANCE_ALPHA_FLOAT16_ATI

#define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F

## GL_LUMINANCE_ALPHA_FLOAT32_ATI

#define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819

## GL_LUMINANCE_ALPHA_INTEGER_EXT

#define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D

## GL_LUMINANCE_FLOAT16_ATI

#define GL_LUMINANCE_FLOAT16_ATI 0x881E

## GL_LUMINANCE_FLOAT32_ATI

#define GL_LUMINANCE_FLOAT32_ATI 0x8818

## GL_LUMINANCE_INTEGER_EXT

#define GL_LUMINANCE_INTEGER_EXT 0x8D9C

## GL_MAX_COMBINED_IMAGE_UNIFORMS

#define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF

## GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS

#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39

## GL_MAX_CUBE_MAP_TEXTURE_SIZE

#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C

## GL_MAX_FRAGMENT_IMAGE_UNIFORMS

#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE

## GL_MAX_GEOMETRY_IMAGE_UNIFORMS

#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD

## GL_MAX_IMAGE_SAMPLES

#define GL_MAX_IMAGE_SAMPLES 0x906D

## GL_MAX_IMAGE_UNITS

#define GL_MAX_IMAGE_UNITS 0x8F38

## GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS

#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB

## GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS

#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC

## GL_MAX_TEXTURE_UNITS

#define GL_MAX_TEXTURE_UNITS 0x84E2

## GL_MAX_VERTEX_IMAGE_UNIFORMS

#define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA

## GL_MIRRORED_REPEAT_IBM

#define GL_MIRRORED_REPEAT_IBM 0x8370

## GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB

#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2

## GL_PIXEL_BUFFER_BARRIER_BIT

#define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080

## GL_PROXY_TEXTURE_CUBE_MAP

#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B

## GL_R16

#define GL_R16 0x822A

## GL_R16F

#define GL_R16F 0x822D

## GL_R16I

#define GL_R16I 0x8233

## GL_R16UI

#define GL_R16UI 0x8234

## GL_R32F

#define GL_R32F 0x822E

## GL_R32I

#define GL_R32I 0x8235

## GL_R32UI

#define GL_R32UI 0x8236

## GL_R3_G3_B2

#define GL_R3_G3_B2 0x2A10

## GL_R8

#define GL_R8 0x8229

## GL_R8I

#define GL_R8I 0x8231

## GL_R8UI

#define GL_R8UI 0x8232

## GL_RED_INTEGER_EXT

#define GL_RED_INTEGER_EXT 0x8D94

## GL_RG

#define GL_RG 0x8227

## GL_RG16

#define GL_RG16 0x822C

## GL_RG16F

#define GL_RG16F 0x822F

## GL_RG16I

#define GL_RG16I 0x8239

## GL_RG16UI

#define GL_RG16UI 0x823A

## GL_RG32F

#define GL_RG32F 0x8230

## GL_RG32I

#define GL_RG32I 0x823B

## GL_RG32UI

#define GL_RG32UI 0x823C

## GL_RG8

#define GL_RG8 0x822B

## GL_RG8I

#define GL_RG8I 0x8237

## GL_RG8UI

#define GL_RG8UI 0x8238

## GL_RG_INTEGER

#define GL_RG_INTEGER 0x8228

## GL_RGB10

#define GL_RGB10 0x8052

## GL_RGB10_A2

#define GL_RGB10_A2 0x8059

## GL_RGB12

#define GL_RGB12 0x8053

## GL_RGB16

#define GL_RGB16 0x8054

## GL_RGB16F_ARB

#define GL_RGB16F_ARB 0x881B

## GL_RGB16I_EXT

#define GL_RGB16I_EXT 0x8D89

## GL_RGB16UI_EXT

#define GL_RGB16UI_EXT 0x8D77

## GL_RGB32F_ARB

#define GL_RGB32F_ARB 0x8815

## GL_RGB32I_EXT

#define GL_RGB32I_EXT 0x8D83

## GL_RGB32UI_EXT

#define GL_RGB32UI_EXT 0x8D71

## GL_RGB4

#define GL_RGB4 0x804F

## GL_RGB5

#define GL_RGB5 0x8050

## GL_RGB5_A1

#define GL_RGB5_A1 0x8057

## GL_RGB8

#define GL_RGB8 0x8051

## GL_RGB8I_EXT

#define GL_RGB8I_EXT 0x8D8F

## GL_RGB8UI_EXT

#define GL_RGB8UI_EXT 0x8D7D

## GL_RGB_FLOAT16_ATI

#define GL_RGB_FLOAT16_ATI 0x881B

## GL_RGB_FLOAT32_ATI

#define GL_RGB_FLOAT32_ATI 0x8815

## GL_RGB_INTEGER_EXT

#define GL_RGB_INTEGER_EXT 0x8D98

## GL_RGBA12

#define GL_RGBA12 0x805A

## GL_RGBA16

#define GL_RGBA16 0x805B

## GL_RGBA16F_ARB

#define GL_RGBA16F_ARB 0x881A

## GL_RGBA16I_EXT

#define GL_RGBA16I_EXT 0x8D88

## GL_RGBA16UI_EXT

#define GL_RGBA16UI_EXT 0x8D76

## GL_RGBA2

#define GL_RGBA2 0x8055

## GL_RGBA32F_ARB

#define GL_RGBA32F_ARB 0x8814

## GL_RGBA32I_EXT

#define GL_RGBA32I_EXT 0x8D82

## GL_RGBA32UI_EXT

#define GL_RGBA32UI_EXT 0x8D70

## GL_RGBA4

#define GL_RGBA4 0x8056

## GL_RGBA8

#define GL_RGBA8 0x8058

Referenced by osg::BindImageTexture::BindImageTexture().

## GL_RGBA8I_EXT

#define GL_RGBA8I_EXT 0x8D8E

## GL_RGBA8UI_EXT

#define GL_RGBA8UI_EXT 0x8D7C

## GL_RGBA_FLOAT16_ATI

#define GL_RGBA_FLOAT16_ATI 0x881A

## GL_RGBA_FLOAT32_ATI

#define GL_RGBA_FLOAT32_ATI 0x8814

## GL_RGBA_INTEGER_EXT

#define GL_RGBA_INTEGER_EXT 0x8D99

## GL_RGBA_INTEGER_MODE_EXT

#define GL_RGBA_INTEGER_MODE_EXT 0x8D9E

## GL_SHADER_IMAGE_ACCESS_BARRIER_BIT

#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020

## GL_SIGNED_ALPHA8_NV

#define GL_SIGNED_ALPHA8_NV 0x8706

## GL_SIGNED_ALPHA_NV

#define GL_SIGNED_ALPHA_NV 0x8705

## GL_SIGNED_HILO16_NV

#define GL_SIGNED_HILO16_NV 0x86FA

## GL_SIGNED_HILO_NV

#define GL_SIGNED_HILO_NV 0x86F9

## GL_SIGNED_INTENSITY8_NV

#define GL_SIGNED_INTENSITY8_NV 0x8708

## GL_SIGNED_INTENSITY_NV

#define GL_SIGNED_INTENSITY_NV 0x8707

## GL_SIGNED_LUMINANCE8_ALPHA8_NV

#define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704

## GL_SIGNED_LUMINANCE8_NV

#define GL_SIGNED_LUMINANCE8_NV 0x8702

## GL_SIGNED_LUMINANCE_ALPHA_NV

#define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703

## GL_SIGNED_LUMINANCE_NV

#define GL_SIGNED_LUMINANCE_NV 0x8701

## GL_SIGNED_RGB8_NV

#define GL_SIGNED_RGB8_NV 0x86FF

## GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV

#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D

## GL_SIGNED_RGB_NV

#define GL_SIGNED_RGB_NV 0x86FE

## GL_SIGNED_RGB_UNSIGNED_ALPHA_NV

#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C

## GL_SIGNED_RGBA8_NV

#define GL_SIGNED_RGBA8_NV 0x86FC

## GL_SIGNED_RGBA_NV

#define GL_SIGNED_RGBA_NV 0x86FB

## GL_TEXTURE_2D_MULTISAMPLE

#define GL_TEXTURE_2D_MULTISAMPLE 0x9100

Referenced by osg::Texture2DMultisample::getTextureTarget().

## GL_TEXTURE_3D

#define GL_TEXTURE_3D 0x806F

Referenced by osg::Texture3D::getTextureTarget().

## GL_TEXTURE_BINDING_3D

#define GL_TEXTURE_BINDING_3D 0x806A

## GL_TEXTURE_BINDING_CUBE_MAP

#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514

## GL_TEXTURE_COMPARE_FUNC_ARB

#define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D

## GL_TEXTURE_COMPARE_MODE_ARB

#define GL_TEXTURE_COMPARE_MODE_ARB 0x884C

## GL_TEXTURE_COMPRESSED_ARB

#define GL_TEXTURE_COMPRESSED_ARB 0x86A1

## GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB

#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0

## GL_TEXTURE_COMPRESSION_HINT_ARB

#define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF

## GL_TEXTURE_CUBE_MAP

#define GL_TEXTURE_CUBE_MAP 0x8513

Referenced by osg::TextureCubeMap::getTextureTarget().

## GL_TEXTURE_CUBE_MAP_NEGATIVE_X

#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516

## GL_TEXTURE_CUBE_MAP_NEGATIVE_Y

#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518

## GL_TEXTURE_CUBE_MAP_NEGATIVE_Z

#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A

## GL_TEXTURE_CUBE_MAP_POSITIVE_X

#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515

## GL_TEXTURE_CUBE_MAP_POSITIVE_Y

#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517

## GL_TEXTURE_CUBE_MAP_POSITIVE_Z

#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519

## GL_TEXTURE_DEPTH

#define GL_TEXTURE_DEPTH 0x8071

## GL_TEXTURE_FETCH_BARRIER_BIT

#define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008

## GL_TEXTURE_MAX_ANISOTROPY_EXT

#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE

## GL_TEXTURE_SWIZZLE_RGBA

#define GL_TEXTURE_SWIZZLE_RGBA 0x8E46

## GL_TEXTURE_UPDATE_BARRIER_BIT

#define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100

## GL_TRANSFORM_FEEDBACK_BARRIER_BIT

#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800

## GL_UNIFORM_BARRIER_BIT

#define GL_UNIFORM_BARRIER_BIT 0x00000004

## GL_UNSIGNED_INT_IMAGE_1D

#define GL_UNSIGNED_INT_IMAGE_1D 0x9062

## GL_UNSIGNED_INT_IMAGE_1D_ARRAY

#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068

## GL_UNSIGNED_INT_IMAGE_2D

#define GL_UNSIGNED_INT_IMAGE_2D 0x9063

## GL_UNSIGNED_INT_IMAGE_2D_ARRAY

#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069

## GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE

#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B

## GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY

#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C

## GL_UNSIGNED_INT_IMAGE_2D_RECT

#define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065

## GL_UNSIGNED_INT_IMAGE_3D

#define GL_UNSIGNED_INT_IMAGE_3D 0x9064

## GL_UNSIGNED_INT_IMAGE_BUFFER

#define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067

## GL_UNSIGNED_INT_IMAGE_CUBE

#define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066

## GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY

#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A

## GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT

#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001

## LESSTHAN

#define LESSTHAN | ( |  | A,
|  |  | B )

Value:
if (A<B) return true; if (B<A) return false;

Referenced by osg::Texture::TextureProfile::operator<().

## OSG_TEXTURE

#define OSG_TEXTURE 1

## TEXTURE_COMPARE_FAIL_VALUE_ARB

#define TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF