Nori

BlockRenderThread Class Reference

Render thread. More...

#include <block.h>

List of all members.

Public Member Functions

 BlockRenderThread (const Scene *scene, Sampler *sampler, BlockGenerator *blockGenerator, ImageBlock *output)
 Create a new rendering thread that fetches blocks from the specified block generator and writes output to a big ImageBlock instance that represents the entire image.
virtual ~BlockRenderThread ()
 Release all memory.
void run ()
 Main rendering thread loop.

Detailed Description

Render thread.

This class implements the main rendering logic, which consists of fetching work from a scheduler (in the form of rectangular image blocks to be rendered), processing it, and writing the output to a target buffer.

Definition at line 170 of file block.h.


Constructor & Destructor Documentation

BlockRenderThread::BlockRenderThread ( const Scene scene,
Sampler sampler,
BlockGenerator blockGenerator,
ImageBlock output 
)

Create a new rendering thread that fetches blocks from the specified block generator and writes output to a big ImageBlock instance that represents the entire image.

virtual BlockRenderThread::~BlockRenderThread ( ) [virtual]

Release all memory.


Member Function Documentation

void BlockRenderThread::run ( )

Main rendering thread loop.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines