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

gl_buffer_object Struct Reference

#include <mtypes.h>


Detailed Description

GL_ARB_vertex/pixel_buffer_object buffer object.

Data Fields

GLint RefCount
GLuint Name
GLenum Usage
 GL_STREAM_DRAW_ARB, GL_STREAM_READ_ARB, etc.
GLsizeiptrARB Size
 Size of buffer storage in bytes.
GLubyte * Data
 Location of storage either in RAM or VRAM.
GLboolean Written
 Ever written to? (for debugging).
GLbitfield AccessFlags
 Fields describing a mapped buffer.
GLvoid * Pointer
 User-space address of mapping.
GLintptr Offset
 Mapped offset.
GLsizeiptr Length
 Mapped length.

Field Documentation

GLint gl_buffer_object::RefCount

GLuint gl_buffer_object::Name

GLenum gl_buffer_object::Usage

GL_STREAM_DRAW_ARB, GL_STREAM_READ_ARB, etc.

GLsizeiptrARB gl_buffer_object::Size

Size of buffer storage in bytes.

GLubyte* gl_buffer_object::Data

Location of storage either in RAM or VRAM.

GLbitfield gl_buffer_object::AccessFlags

Fields describing a mapped buffer.

Mask of GL_MAP_x_BIT flags

GLvoid* gl_buffer_object::Pointer

User-space address of mapping.

GLintptr gl_buffer_object::Offset

Mapped offset.

GLsizeiptr gl_buffer_object::Length

Mapped length.

GLboolean gl_buffer_object::Written

Ever written to? (for debugging).


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