Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

RenderBuffer Class Reference

A RenderBuffer is an arbitrary subset of the various layers (depth buffer, color buffer, etc.) of a drawing region. More...

#include <renderBuffer.h>

List of all members.

Public Types

enum  Type {
  T_front_left = 0x0001, T_back_left = 0x0002, T_front_right = 0x0004, T_back_right = 0x0008,
  T_front = 0x0005, T_back = 0x000a, T_left = 0x0003, T_right = 0x000c,
  T_color = 0x000f, T_depth = 0x0010, T_stencil = 0x0020, T_accum = 0x0040
}

Public Member Functions

 RenderBuffer (GraphicsStateGuardian *gsg, int buffer_type)

Public Attributes

GraphicsStateGuardian_gsg
int _buffer_type


Detailed Description

A RenderBuffer is an arbitrary subset of the various layers (depth buffer, color buffer, etc.) of a drawing region.

It consists of a GraphicsStateGuardian pointer, along with a bitmask of the layers we're interested in.

Definition at line 44 of file renderBuffer.h.


Member Enumeration Documentation

enum RenderBuffer::Type
 

Enumeration values:
T_front_left 
T_back_left 
T_front_right 
T_back_right 
T_front 
T_back 
T_left 
T_right 
T_color 
T_depth 
T_stencil 
T_accum 

Definition at line 46 of file renderBuffer.h.


Constructor & Destructor Documentation

RenderBuffer::RenderBuffer GraphicsStateGuardian gsg,
int  buffer_type
[inline]
 

Definition at line 65 of file renderBuffer.h.


Member Data Documentation

int RenderBuffer::_buffer_type
 

Definition at line 69 of file renderBuffer.h.

Referenced by GLGraphicsStateGuardian::enable_lighting(), CRGraphicsStateGuardian::issue_transformed_color(), and DXGraphicsStateGuardian8::support_overlay_window().

GraphicsStateGuardian* RenderBuffer::_gsg
 

Definition at line 68 of file renderBuffer.h.

Referenced by DXGraphicsStateGuardian8::support_overlay_window().


The documentation for this class was generated from the following file:
Generated on Fri May 2 00:54:41 2003 for Panda by doxygen1.3