c4d.modules.render.InitRenderStruct

New in version R13.029.

The InitRenderStruct is usually filled by CINEMA and then passed to the shader (BaseShader.InitRender()).

Definition

class c4d.modules.render.InitRenderStruct

Members

InitRenderStruct.version

[Read-only]

The version of CINEMA.

Type: int

InitRenderStruct.time

[Read-only]

The current time.

Type: BaseTime

InitRenderStruct.fps

[Read-only]

The framerate.

Type: int

InitRenderStruct.docpath

[Read-only]

The path for the document.

Type: str

InitRenderStruct.vd

[Read-only]

The volume data.

Type: VolumeData

Note

Can be None, always check.

InitRenderStruct.doc

[Read-only]

The document to render.

Type: BaseDocument

Note

Can be None, always check.

InitRenderStruct.thread

[Read-only]

The current thread or None for the main CINEMA thread.

Type: BaseThread

InitRenderStruct.flags

[Read-only]

Flags:

INITRENDERFLAG_0 No flags.
INITRENDERFLAG_TEXTURES Use textures.
INITRENDERFLAG_PAINTERNOMIP Disable MIP for painting.
INITRENDERFLAG_NOMIP Disable MIP.
INITRENDERFLAG_PREVIEWRENDER Preview render.
INITRENDERFLAG_IRR Interactive region render.
InitRenderStruct.linear_workflow

[Read-only]

Linear workflow enabled/disabled.

Type: bool

InitRenderStruct.document_colorprofile

[Read-only]

The color profile of the document:

DOCUMENT_COLORPROFILE_SRGB sRGB color profile.
DOCUMENT_COLORPROFILE_LINEAR Linear color profile.
DOCUMENT_COLORPROFILE_DISABLED Color profiles disabled.

Table Of Contents