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 |
| GLvoid * | Data |
| struct gl_renderbuffer * | Wrapped |
| 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) |
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.