-unsigned get_component_count(PixelComponents);
-inline unsigned get_component_count(PixelFormat f)
-{ return get_component_count(get_components(f)); }
+This information is presented for internal documentation purposes only; it is
+inadvisable for applications to rely on it.
+*/
+enum PixelFormat
+{
+ NO_PIXELFORMAT = 0,
+ R8 = 0x4100|RED,
+ R16F = 0x3200|RED,
+ R32F = 0x3400|RED,
+ RG8 = 0x4100|RG,
+ RG16F = 0x3200|RG,
+ RG32F = 0x3400|RG,
+ RGB8 = 0x4100|RGB,
+ RGB16F = 0x3200|RGB,
+ RGB32F = 0x3400|RGB,
+ RGBA8 = 0x4100|RGBA,
+ RGBA16F = 0x3200|RGBA,
+ RGBA32F = 0x3400|RGBA,
+ SRGB8 = 0xC100|RGB,
+ SRGB8_ALPHA8 = 0xC100|RGBA,
+ BGR8 = 0x4100|BGR,
+ BGRA8 = 0x4100|BGRA,
+ SBGR8 = 0xC100|BGR,
+ SBGR8_ALPHA8 = 0xC100|BGRA,
+ LUMINANCE8 = 0x4100|LUMINANCE,
+ LUMINANCE8_ALPHA8 = 0x4100|LUMINANCE_ALPHA,
+ DEPTH_COMPONENT16 = 0x4200|DEPTH_COMPONENT,
+ DEPTH_COMPONENT24 = 0x4300|DEPTH_COMPONENT,
+ DEPTH_COMPONENT32 = 0x4400|DEPTH_COMPONENT,
+ DEPTH_COMPONENT32F = 0x3400|DEPTH_COMPONENT,
+ STENCIL_INDEX8 = 0x0100|STENCIL_INDEX
+};