Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

gl_renderbuffer Struct Reference

#include <mtypes.h>

List of all members.


Detailed Description

A renderbuffer stores colors or depth values or stencil values. A framebuffer object will have a collection of these. Data are read/written to the buffer with a handful of Get/Put functions.

Instances of this object are allocated with the Driver's NewRenderbuffer hook. Drivers will likely wrap this class inside a driver-specific class to simulate inheritance.

Definition at line 2241 of file mtypes.h.


Public Attributes

GLenum _ActualFormat
GLenum _BaseFormat
GLboolean(* AllocStorage )(GLcontext *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height)
GLubyte AlphaBits
GLubyte BlueBits
GLuint ClassID
GLvoid * Data
GLenum DataType
void(* Delete )(struct gl_renderbuffer *rb)
GLubyte DepthBits
void *(* GetPointer )(GLcontext *ctx, struct gl_renderbuffer *rb, GLint x, GLint y)
void(* GetRow )(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, void *values)
void(* GetValues )(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], void *values)
GLubyte GreenBits
GLuint Height
GLubyte IndexBits
GLenum InternalFormat
int Magic
_glthread_Mutex Mutex
GLuint Name
void(* PutMonoRow )(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *value, const GLubyte *mask)
void(* PutMonoValues )(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *value, const GLubyte *mask)
void(* PutRow )(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
void(* PutRowRGB )(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *values, const GLubyte *mask)
void(* PutValues )(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *values, const GLubyte *mask)
GLubyte RedBits
GLint RefCount
GLubyte StencilBits
GLuint Width
struct gl_renderbufferWrapped

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index