#include <mtypes.h>
Data Fields | |
| GLenum | Format |
| Either GL_RGB, GL_RGBA, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_COLOR_INDEX or GL_DEPTH_COMPONENT only. More... | |
| GLint | IntFormat |
| Internal format as given by the user. More... | |
| GLuint | Border |
| 0 or 1. More... | |
| GLuint | Width |
| = 2^WidthLog2 + 2*Border. More... | |
| GLuint | Height |
| = 2^HeightLog2 + 2*Border. More... | |
| GLuint | Depth |
| = 2^DepthLog2 + 2*Border. More... | |
| GLuint | RowStride |
| == Width unless IsClientData and padded. More... | |
| GLuint | Width2 |
| = Width - 2*Border. More... | |
| GLuint | Height2 |
| = Height - 2*Border. More... | |
| GLuint | Depth2 |
| = Depth - 2*Border. More... | |
| GLuint | WidthLog2 |
| = log2(Width2). More... | |
| GLuint | HeightLog2 |
| = log2(Height2). More... | |
| GLuint | DepthLog2 |
| = log2(Depth2). More... | |
| GLuint | MaxLog2 |
| = MAX(WidthLog2, HeightLog2). More... | |
| GLfloat | WidthScale |
| used for mipmap LOD computation. More... | |
| GLfloat | HeightScale |
| used for mipmap LOD computation. More... | |
| GLfloat | DepthScale |
| used for mipmap LOD computation. More... | |
| GLvoid * | Data |
| Image data, accessed via FetchTexel(). More... | |
| GLboolean | IsClientData |
| Data owned by client? More... | |
| GLboolean | _IsPowerOfTwo |
| Are all dimensions powers of two? More... | |
| const struct gl_texture_format * | TexFormat |
| gl_texture_object * | TexObject |
| Pointer back to parent object. More... | |
| FetchTexelFuncC | FetchTexelc |
| GLchan texel fetch function pointer. More... | |
| FetchTexelFuncF | FetchTexelf |
| Float texel fetch function pointer. More... | |
| GLboolean | IsCompressed |
| GL_ARB_texture_compression. More... | |
| GLuint | CompressedSize |
| GL_ARB_texture_compression. More... | |
For device driver: | |
| void * | DriverData |
| Arbitrary device driver data. More... | |
|
|
Are all dimensions powers of two?
|
|
|
0 or 1.
|
|
|
GL_ARB_texture_compression.
|
|
|
Image data, accessed via FetchTexel().
|
|
|
= 2^DepthLog2 + 2*Border.
|
|
|
= Depth - 2*Border.
|
|
|
= log2(Depth2).
|
|
|
used for mipmap LOD computation.
|
|
|
Arbitrary device driver data.
|
|
|
GLchan texel fetch function pointer.
|
|
|
Float texel fetch function pointer.
|
|
|
Either GL_RGB, GL_RGBA, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_COLOR_INDEX or GL_DEPTH_COMPONENT only. Used for choosing TexEnv arithmetic. |
|
|
= 2^HeightLog2 + 2*Border.
|
|
|
= Height - 2*Border.
|
|
|
= log2(Height2).
|
|
|
used for mipmap LOD computation.
|
|
|
Internal format as given by the user.
|
|
|
Data owned by client?
|
|
|
GL_ARB_texture_compression.
|
|
|
= MAX(WidthLog2, HeightLog2).
|
|
|
== Width unless IsClientData and padded.
|
|
|
|
|
|
Pointer back to parent object.
|
|
|
= 2^WidthLog2 + 2*Border.
|
|
|
= Width - 2*Border.
|
|
|
= log2(Width2).
|
|
|
used for mipmap LOD computation.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001