Specific enums for Version13 "Compressed Textures".

This commit is contained in:
the_fiddler 2008-01-02 10:54:41 +00:00
parent e3b0c5b5cf
commit cfcbf9f3bc

View file

@ -219,17 +219,17 @@ VERSION_1_3 enum:
# TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A # TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A
# PROXY_TEXTURE_CUBE_MAP = 0x851B # PROXY_TEXTURE_CUBE_MAP = 0x851B
# MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C # MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C
COMPRESSED_ALPHA = 0x84E9 # Promoted from ARB_texture_compression # COMPRESSED_ALPHA = 0x84E9 # Promoted from ARB_texture_compression
COMPRESSED_LUMINANCE = 0x84EA # COMPRESSED_LUMINANCE = 0x84EA
COMPRESSED_LUMINANCE_ALPHA = 0x84EB # COMPRESSED_LUMINANCE_ALPHA = 0x84EB
COMPRESSED_INTENSITY = 0x84EC # COMPRESSED_INTENSITY = 0x84EC
COMPRESSED_RGB = 0x84ED # COMPRESSED_RGB = 0x84ED
COMPRESSED_RGBA = 0x84EE # COMPRESSED_RGBA = 0x84EE
TEXTURE_COMPRESSION_HINT = 0x84EF # TEXTURE_COMPRESSION_HINT = 0x84EF
TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0 # TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0
TEXTURE_COMPRESSED = 0x86A1 # TEXTURE_COMPRESSED = 0x86A1
NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2 # NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2
COMPRESSED_TEXTURE_FORMATS = 0x86A3 # COMPRESSED_TEXTURE_FORMATS = 0x86A3
CLAMP_TO_BORDER = 0x812D # Promoted from ARB_texture_border_clamp CLAMP_TO_BORDER = 0x812D # Promoted from ARB_texture_border_clamp
COMBINE = 0x8570 # Promoted from ARB_texture_env_combine COMBINE = 0x8570 # Promoted from ARB_texture_env_combine
COMBINE_RGB = 0x8571 COMBINE_RGB = 0x8571
@ -327,6 +327,27 @@ TextureUnit enum:
TEXTURE30 = 0x84DE TEXTURE30 = 0x84DE
TEXTURE31 = 0x84DF TEXTURE31 = 0x84DF
# Compressed Textures (http://www.opengl.org/registry/specs/ARB/texture_compression.txt)
PixelInternalFormat enum:
COMPRESSED_ALPHA = 0x84E9 # Promoted from ARB_texture_compression
COMPRESSED_LUMINANCE = 0x84EA
COMPRESSED_LUMINANCE_ALPHA = 0x84EB
COMPRESSED_INTENSITY = 0x84EC
COMPRESSED_RGB = 0x84ED
COMPRESSED_RGBA = 0x84EE
HintTarget enum:
TEXTURE_COMPRESSION_HINT = 0x84EF
GetTextureParameter enum:
TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0
TEXTURE_COMPRESSED = 0x86A1
GetPName enum:
TEXTURE_COMPRESSION_HINT = 0x84EF
NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2
COMPRESSED_TEXTURE_FORMATS = 0x86A3
############################################################################### ###############################################################################
# #
# OpenGL 1.4 enums (edited for OpenTK) # OpenGL 1.4 enums (edited for OpenTK)