Public Types | Public Member Functions

IRendererRequirements Class Reference

Search for all occurrences

#include <render.h>

Inheritance diagram for IRendererRequirements:
Inheritance graph
[legend]

List of all members.

Public Types

enum   Requirement {
  kRequirement_NoPauseSupport = 0, kRequirement_NoVFB = 1, kRequirement_DontSaveRenderOutput = 2, kRequirement8_Wants32bitFPOutput = 3,
  kRequirement11_WantsObjectSelection = 4
}

Public Member Functions

virtual bool  HasRequirement (Requirement requirement)=0
virtual Interface_ID  GetID ()

Member Enumeration Documentation

Enumerator:
kRequirement_NoPauseSupport 

Indicates that the renderer does not support the pause button found in the render progress dialog, and that the pause button should be disabled.

kRequirement_NoVFB 

Indicates that the VFB shouldn't be popped-up after rendering, even if "Show VFB" is ON in the common render parameters.

This is useful for renderers which generate something other than an image. Note that this also affects render element VFBs.

kRequirement_DontSaveRenderOutput 

Indicates that the rendered image shouldn't be saved after rendering, even if a file was specified in the common render parameters.

This is useful for renderers which generate something other than an image. Note that this also affects render element outputs.

kRequirement8_Wants32bitFPOutput 

Indicates the renderer wants a 32bit floating-point RGBA frame buffer to be created for output.

The render executer will query the renderer and will create a 32bit floating-point frame buffer, instead of a 16bit integer buffer, if the renderer returns true for this requirement. Note that there is no guarantee about the frame buffer type: even if the renderer returns true for this requirement, a 16bit integer buffer could still be created.

kRequirement11_WantsObjectSelection 

Indicates the renderer wants an object selection for rendering.

The render executer will throw an error message when the renderer indicates this requirement, and no objects are selected.


Member Function Documentation

virtual bool HasRequirement ( Requirement  requirement ) [pure virtual]
Interface_ID GetID ( ) [inline, virtual]
Remarks:
This method returns the unique interface ID.

Reimplemented from BaseInterface.

                                                 {

    return IRENDERERREQUIREMENTS_INTERFACE_ID;
}

IRendererRequirements IRendererRequirements IRendererRequirements IRendererRequirements IRendererRequirements IRendererRequirements IRendererRequirements IRendererRequirements IRendererRequirements IRendererRequirements
IRendererRequirements IRendererRequirements IRendererRequirements IRendererRequirements IRendererRequirements IRendererRequirements IRendererRequirements IRendererRequirements IRendererRequirements IRendererRequirements