core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

gl_renderbuffer_attachment Struct Reference

#include <mtypes.h>


Detailed Description

A renderbuffer attachment points to either a texture object (and specifies a mipmap level, cube face or 3D texture slice) or points to a renderbuffer.

Data Fields

GLenum Type
 GL_NONE or GL_TEXTURE or GL_RENDERBUFFER_EXT
GLboolean Complete
struct gl_renderbufferRenderbuffer
 If Type is GL_RENDERBUFFER_EXT, this stores a pointer to the application supplied renderbuffer object.
struct gl_texture_objectTexture
 If Type is GL_TEXTURE, this stores a pointer to the application supplied texture object.
GLuint TextureLevel
 Attached mipmap level.
GLuint CubeMapFace
 0 .
GLuint Zoffset
 Slice for 3D textures, or layer for both 1D and 2D array textures.

Field Documentation

GLenum gl_renderbuffer_attachment::Type

GL_NONE or GL_TEXTURE or GL_RENDERBUFFER_EXT

GLboolean gl_renderbuffer_attachment::Complete

struct gl_renderbuffer* gl_renderbuffer_attachment::Renderbuffer [read]

If Type is GL_RENDERBUFFER_EXT, this stores a pointer to the application supplied renderbuffer object.

struct gl_texture_object* gl_renderbuffer_attachment::Texture [read]

If Type is GL_TEXTURE, this stores a pointer to the application supplied texture object.

GLuint gl_renderbuffer_attachment::TextureLevel

Attached mipmap level.

GLuint gl_renderbuffer_attachment::CubeMapFace

0 .

. 5, for cube map textures.

GLuint gl_renderbuffer_attachment::Zoffset

Slice for 3D textures, or layer for both 1D and 2D array textures.


The documentation for this struct was generated from the following file:
Generated on Sun Sep 27 06:47:47 2009 for Mesa Main by  doxygen 1.5.4