OpenGL.GL.EXT.texture_snorm
OpenGL extension EXT.texture_snorm
This module customises the behaviour of the
OpenGL.raw.GL.EXT.texture_snorm to provide a more
Python-friendly API
Overview (from the spec)
Fixed-point textures in unextended OpenGL have integer components,
but those values are taken to represent floating-point values in
the range
These integer components are considered
"unsigned normalized" integers. When such a texture is accessed by
a shader or by fixed-function fragment processing, floating-point
values are returned in the range [0.0,1.0
.
This extension provides a set of new "signed normalized" integer
texture formats. These are taken to represent a floating-point
value in the range [-1.0,1.0] with an exact 0.0.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/texture_snorm.txt
Functions
Constants
GL_ALPHA16_SNORM (36888)
GL_ALPHA8_SNORM (36884)
GL_ALPHA_SNORM (36880)
GL_INTENSITY16_SNORM (36891)
GL_INTENSITY8_SNORM (36887)
GL_INTENSITY_SNORM (36883)
GL_LUMINANCE16_ALPHA16_SNORM (36890)
GL_LUMINANCE16_SNORM (36889)
GL_LUMINANCE8_ALPHA8_SNORM (36886)
GL_LUMINANCE8_SNORM (36885)
GL_LUMINANCE_ALPHA_SNORM (36882)
GL_LUMINANCE_SNORM (36881)
GL_R16_SNORM (36760)
GL_R8_SNORM (36756)
GL_RED_SNORM (36752)
GL_RG16_SNORM (36761)
GL_RG8_SNORM (36757)
GL_RG_SNORM (36753)
GL_RGB16_SNORM (36762)
GL_RGB8_SNORM (36758)
GL_RGB_SNORM (36754)
GL_RGBA16_SNORM (36763)
GL_RGBA8_SNORM (36759)
GL_RGBA_SNORM (36755)
GL_SIGNED_NORMALIZED (36764)