
Enum: Depth Texture (Version14) [not done!]
Posted Monday, 31 December, 2007 - 15:43 by Inertia inhttp://opengl.org/registry/specs/ARB/depth_texture.txt
No EnableCap affected.
// add to Enum PixelInternalFormat DepthComponent = (int) All.DepthComponent, // was missing DepthComponent16 = ( (int) 0x81a5 ), DepthComponent24 = ( (int) 0x81a6 ), DepthComponent32 = ( (int) 0x81a7 ), // Note: PixelFormat enum already contains DepthComponent which is correct // add to Enum GetTextureParameter TextureDepthSize = ( (int) 0x884a ), // add to BOTH Enums: GetTextureParameter AND TextureParameterName DepthTextureMode = ( (int) 0x884b ), // Legal values: LUMINANCE, INTENSITY, ALPHA


Comments
Re: Enum: Depth Texture (Version14) [done!]
This is related to ARB_texture_rg cleanup http://www.opentk.com/node/594
DepthTextureMode = ( (int) 0x884b ), // Legal values: LUMINANCE, INTENSITY, ALPHACreate new enum named OpenTK.Graphics.DepthTextureMode
{
Luminance,
Intensity,
Alpha,
RED 0x1903 // from ARB_texture_rg
}
It is not supposed to be forced to use in any function, the idea is to allow: