Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# Texture File Reference

`#include <osg/GL>`
`#include <osg/Image>`
`#include <osg/StateAttribute>`
`#include <osg/GraphicsContext>`
`#include <osg/ref_ptr>`
`#include <osg/Vec4>`
`#include <osg/buffered_value>`
`#include <list>`
`#include <map>`

## Namespaces
namespace | osg
## Defines
#define | OSG_TEXTURE 1
#define | GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
#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_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_ARB 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_HALF_FLOAT_NV 0x140B
#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_TO_BORDER_ARB 0x812D
#define | GL_GENERATE_MIPMAP_SGIS 0x8191
#define | GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
#define | GL_TEXTURE_3D 0x806F
#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 Documentation

#define GL_ALPHA16F_ARB 0x881C

#define GL_ALPHA32F_ARB 0x8816

#define GL_ALPHA_FLOAT16_ATI 0x881C

#define GL_ALPHA_FLOAT32_ATI 0x8816

#define GL_CLAMP_TO_BORDER_ARB 0x812D

#define GL_CLAMP_TO_EDGE 0x812F

#define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E

#define GL_COMPRESSED_ALPHA_ARB 0x84E9

#define GL_COMPRESSED_INTENSITY_ARB 0x84EC

#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB

#define GL_COMPRESSED_LUMINANCE_ARB 0x84EA

#define GL_COMPRESSED_RGB_ARB 0x84ED

#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0

#define GL_COMPRESSED_RGBA_ARB 0x84EE

#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_TEXTURE_FORMATS_ARB 0x86A3

#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B

#define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B

#define GL_DSDT8_MAG8_NV 0x870A

#define GL_DSDT8_NV 0x8709

#define GL_DSDT_MAG_NV 0x86F6

#define GL_DSDT_MAG_VIB_NV 0x86F7

#define GL_DSDT_NV 0x86F5

#define GL_FLOAT_R16_NV 0x8884

#define GL_FLOAT_R32_NV 0x8885

#define GL_FLOAT_R_NV 0x8880

#define GL_FLOAT_RG16_NV 0x8886

#define GL_FLOAT_RG32_NV 0x8887

#define GL_FLOAT_RG_NV 0x8881

#define GL_FLOAT_RGB16_NV 0x8888

#define GL_FLOAT_RGB32_NV 0x8889

#define GL_FLOAT_RGB_NV 0x8882

#define GL_FLOAT_RGBA16_NV 0x888A

#define GL_FLOAT_RGBA32_NV 0x888B

#define GL_FLOAT_RGBA_NV 0x8883

#define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192

#define GL_GENERATE_MIPMAP_SGIS 0x8191

#define GL_HALF_FLOAT_ARB 0x140B

#define GL_HALF_FLOAT_NV 0x140B

#define GL_HILO16_NV 0x86F8

#define GL_HILO_NV 0x86F4

#define GL_INTENSITY16F_ARB 0x881D

#define GL_INTENSITY32F_ARB 0x8817

#define GL_INTENSITY_FLOAT16_ATI 0x881D

#define GL_INTENSITY_FLOAT32_ATI 0x8817

#define GL_LUMINANCE16F_ARB 0x881E

#define GL_LUMINANCE32F_ARB 0x8818

#define GL_LUMINANCE_ALPHA16F_ARB 0x881F

#define GL_LUMINANCE_ALPHA32F_ARB 0x8819

#define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F

#define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819

#define GL_LUMINANCE_FLOAT16_ATI 0x881E

#define GL_LUMINANCE_FLOAT32_ATI 0x8818

#define GL_MAX_TEXTURE_UNITS 0x84E2

#define GL_MIRRORED_REPEAT_IBM 0x8370

#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2

#define GL_RGB16F_ARB 0x881B

#define GL_RGB32F_ARB 0x8815

#define GL_RGB_FLOAT16_ATI 0x881B

#define GL_RGB_FLOAT32_ATI 0x8815

#define GL_RGBA16F_ARB 0x881A

#define GL_RGBA32F_ARB 0x8814

#define GL_RGBA_FLOAT16_ATI 0x881A

#define GL_RGBA_FLOAT32_ATI 0x8814

#define GL_SIGNED_ALPHA8_NV 0x8706

#define GL_SIGNED_ALPHA_NV 0x8705

#define GL_SIGNED_HILO16_NV 0x86FA

#define GL_SIGNED_HILO_NV 0x86F9

#define GL_SIGNED_INTENSITY8_NV 0x8708

#define GL_SIGNED_INTENSITY_NV 0x8707

#define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704

#define GL_SIGNED_LUMINANCE8_NV 0x8702

#define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703

#define GL_SIGNED_LUMINANCE_NV 0x8701

#define GL_SIGNED_RGB8_NV 0x86FF

#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D

#define GL_SIGNED_RGB_NV 0x86FE

#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C

#define GL_SIGNED_RGBA8_NV 0x86FC

#define GL_SIGNED_RGBA_NV 0x86FB

#define GL_TEXTURE_3D 0x806F

#define GL_TEXTURE_BINDING_3D 0x806A

#define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D

#define GL_TEXTURE_COMPARE_MODE_ARB 0x884C

#define GL_TEXTURE_COMPRESSED_ARB 0x86A1

#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0

#define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF

#define GL_TEXTURE_DEPTH 0x8071

#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE

#define OSG_TEXTURE 1

#define TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF