User Tools

Site Tools


DzRendererMode

A base class for defining the set of features that a given mode of a given render engine provides; feature sets.

More...

Inherits :

Methods

Detailed Description

Many render engines provide a single mode of operation; i.e. the engine is either biased or it is physically based. However, as the development of a render engine evolves, it may provide more than one mode of operation, and each mode may provide a different set of features.

Methods


String : defaultMaterialClassName()

Return Value:

  • The name of the DzMaterial subclass that implements the default material for the renderer in the current mode.

Example

var oRenderMgr = App.getRenderMgr();
var oRenderer = oRenderMgr.getActiveRenderer();
var oRendererMode = oRenderer.getRendererMode();
print( oRendererMode.defaultMaterialClassName() );

Since:

  • 4.11.0.254

Boolean : hasFeatures()

Return Value:

  • true if any features of the renderer are enabled for the current mode, otherwise false.

Boolean : isBiased()

Return Value:

  • true if the renderer is biased in the current mode, otherwise false.

Boolean : isPhysicallyBased()

Return Value:

  • true if the renderer is physically based in the current mode, otherwise false.

Boolean : isRenderManCompliant()

Return Value:

  • true if the renderer is RenderMan compliant in the current mode, otherwise false.

Array : supportedLanguages()

Return Value:

  • A list of the languages supported by the renderer in the current mode.

Since:

  • 4.11.0.254

Boolean : supportsAdvancedCamera()

Return Value:

  • true if the renderer supports advanced camera options in the current mode, otherwise false.

Since:

  • 4.9.3.121

Boolean : supportsCameraBlades()

Return Value:

  • true if the renderer supports camera aperture blades in the current mode, otherwise false.

Since:

  • 4.9.3.121

Boolean : usesCatmarkLimitSurface()

Return Value:

  • true if the renderer supports the Catmark subdivision limit surface in the current mode, otherwise false.