ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

gl_renderbuffer Struct Reference

#include <mtypes.h>

Data Fields

int Magic
_glthread_Mutex Mutex
GLuint ClassID
GLuint Name
GLint RefCount
GLuint Width
GLuint Height
GLenum InternalFormat
GLenum _ActualFormat
GLenum _BaseFormat
GLenum DataType
GLubyte RedBits
GLubyte GreenBits
GLubyte BlueBits
GLubyte AlphaBits
GLubyte IndexBits
GLubyte DepthBits
GLubyte StencilBits
GLvoidData
struct gl_renderbufferWrapped
void(* Delete )(struct gl_renderbuffer *rb)
GLboolean(* AllocStorage )(GLcontext *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height)
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)
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(* PutMonoRow )(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, GLint x, GLint y, const void *value, 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)
void(* PutMonoValues )(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count, const GLint x[], const GLint y[], const void *value, const GLubyte *mask)

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 2250 of file mtypes.h.


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

Generated on Sun May 27 2012 06:20:59 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.