LuxCore  2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
luxcore::RenderState Class Referenceabstract

RenderState is used to resume a rendering from a previous saved point. More...

#include <luxcore.h>

Public Member Functions

virtual ~RenderState ()
 
virtual void Save (const std::string &fileName) const =0
 Serializes a RenderState in a file. More...
 

Static Public Member Functions

static RenderStateCreate (const std::string &fileName)
 Creates a new RenderState from a file. More...
 

Detailed Description

RenderState is used to resume a rendering from a previous saved point.

Definition at line 1030 of file luxcore.h.

Constructor & Destructor Documentation

virtual luxcore::RenderState::~RenderState ( )
virtual

Member Function Documentation

static RenderState* luxcore::RenderState::Create ( const std::string &  fileName)
static

Creates a new RenderState from a file.

Parameters
fileNameid the file name of the render state file to load.
virtual void luxcore::RenderState::Save ( const std::string &  fileName) const
pure virtual

Serializes a RenderState in a file.

Parameters
fileNameis the name of the file where to serialize the render state.

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