The Vish Visualization Shell 0.3
Vish
glFormat< N, NumericType, Bits, TextureType > Struct Template Reference

Convenience interface to OpenGL texture formats. More...

Detailed Description

template<int N, typename NumericType = void, int Bits = 0, typename TextureType = NumericType>
struct glFormat< N, NumericType, Bits, TextureType >

Convenience interface to OpenGL texture formats.

http://www.opengl.org/sdk/docs/man4/xhtml/glTexImage2D.xml

Parameters
SignedNormalizedThe texture values will be in range [-1.0,1.0], otherwise [0.0,1.0].

Fixed-point textures in unextended OpenGL have integer components, but those values are taken to represent floating-point values in the range [0.0,1.0]. 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.

http://www.opengl.org/registry/specs/EXT/texture_snorm.txt