Blender V2.61 - r43446
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

DisplayBuffer Class Reference

#include <buffers.h>

List of all members.

Public Member Functions

 DisplayBuffer (Device *device)
 ~DisplayBuffer ()
void reset (Device *device, BufferParams &params)
void write (Device *device, const string &filename)
void draw_set (int width, int height)
void draw (Device *device)
bool draw_ready ()

Public Attributes

BufferParams params
int draw_width
int draw_height
bool transparent
device_vector< uchar4rgba
thread_mutex mutex

Protected Member Functions

void draw_transparency_grid ()
void device_free ()

Protected Attributes

Devicedevice

Detailed Description

Definition at line 106 of file buffers.h.


Constructor & Destructor Documentation

DisplayBuffer::DisplayBuffer ( Device device)

Definition at line 114 of file buffers.cpp.

References device, draw_height, draw_width, and transparent.

DisplayBuffer::~DisplayBuffer ( )

Definition at line 122 of file buffers.cpp.

References device_free().


Member Function Documentation

void DisplayBuffer::device_free ( ) [protected]
void DisplayBuffer::draw ( Device device)
bool DisplayBuffer::draw_ready ( )

Definition at line 190 of file buffers.cpp.

References draw_height, and draw_width.

Referenced by Session::draw_cpu().

void DisplayBuffer::draw_set ( int  width,
int  height 
)

Definition at line 150 of file buffers.cpp.

References assert, draw_height, draw_width, BufferParams::height, params, and BufferParams::width.

Referenced by Session::tonemap().

void DisplayBuffer::draw_transparency_grid ( ) [protected]

Definition at line 158 of file buffers.cpp.

References checker_stipple_sml, BufferParams::height, params, and BufferParams::width.

Referenced by draw().

void DisplayBuffer::reset ( Device device,
BufferParams params 
)
void DisplayBuffer::write ( Device device,
const string &  filename 
)

Member Data Documentation

Definition at line 135 of file buffers.h.

Referenced by device_free(), and DisplayBuffer().

Definition at line 113 of file buffers.h.

Referenced by DisplayBuffer(), draw(), draw_ready(), draw_set(), reset(), and write().

Definition at line 113 of file buffers.h.

Referenced by DisplayBuffer(), draw(), draw_ready(), draw_set(), reset(), and write().

Definition at line 117 of file buffers.h.

Referenced by device_free(), draw(), reset(), Session::tonemap(), and write().

Definition at line 115 of file buffers.h.

Referenced by DisplayBuffer(), and draw().


The documentation for this class was generated from the following files: