core  array_cache  math  swrast  swrast_setup  tnl  tnl_dd 
Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

gl_texture_format Struct Reference

Texture format record. More...

#include <mtypes.h>


Data Fields

GLint MesaFormat
 One of the MESA_FORMAT_* values. More...

GLenum BaseFormat
 Either GL_RGB, GL_RGBA, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_COLOR_INDEX or GL_DEPTH_COMPONENT. More...

GLenum DataType
 GL_FLOAT or GL_UNSIGNED_NORMALIZED_ARB. More...

GLubyte RedBits
 Bits per texel component. More...

GLubyte GreenBits
 These are just rough approximations for. More...

GLubyte BlueBits
 compressed texture formats. More...

GLubyte AlphaBits
GLubyte LuminanceBits
GLubyte IntensityBits
GLubyte IndexBits
GLubyte DepthBits
GLuint TexelBytes
 Bytes per texel, 0 if compressed format. More...

StoreTexImageFunc StoreImage
Texel fetch function pointers
FetchTexelFuncC FetchTexel1D
FetchTexelFuncC FetchTexel2D
FetchTexelFuncC FetchTexel3D
FetchTexelFuncF FetchTexel1Df
FetchTexelFuncF FetchTexel2Df
FetchTexelFuncF FetchTexel3Df


Detailed Description

Texture format record.


Field Documentation

GLubyte gl_texture_format::AlphaBits
 

GLenum gl_texture_format::BaseFormat
 

Either GL_RGB, GL_RGBA, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_COLOR_INDEX or GL_DEPTH_COMPONENT.

GLubyte gl_texture_format::BlueBits
 

compressed texture formats.

GLenum gl_texture_format::DataType
 

GL_FLOAT or GL_UNSIGNED_NORMALIZED_ARB.

GLubyte gl_texture_format::DepthBits
 

FetchTexelFuncC gl_texture_format::FetchTexel1D
 

FetchTexelFuncF gl_texture_format::FetchTexel1Df
 

FetchTexelFuncC gl_texture_format::FetchTexel2D
 

FetchTexelFuncF gl_texture_format::FetchTexel2Df
 

FetchTexelFuncC gl_texture_format::FetchTexel3D
 

FetchTexelFuncF gl_texture_format::FetchTexel3Df
 

GLubyte gl_texture_format::GreenBits
 

These are just rough approximations for.

GLubyte gl_texture_format::IndexBits
 

GLubyte gl_texture_format::IntensityBits
 

GLubyte gl_texture_format::LuminanceBits
 

GLint gl_texture_format::MesaFormat
 

One of the MESA_FORMAT_* values.

GLubyte gl_texture_format::RedBits
 

Bits per texel component.

StoreTexImageFunc gl_texture_format::StoreImage
 

GLuint gl_texture_format::TexelBytes
 

Bytes per texel, 0 if compressed format.


The documentation for this struct was generated from the following file:
Generated on Sun May 16 15:55:13 2004 for Mesa Core by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001