CaptureRenderPreset#

class omni.kit.capture.viewport.CaptureRenderPreset(
value,
names=None,
*,
module=None,
qualname=None,
type=None,
start=1,
boundary=None,
)#

Bases: IntEnum

A set of render presets for capture operations.

This enumeration defines the rendering methods available during capture sessions in Omni UI. Each preset controls a different rendering approach, allowing users to select the method best suited for quality and performance requirements.

Members:

PATH_TRACE: Use a full path-tracing method for high-quality output. RAY_TRACE: Use ray tracing to produce realistic lighting and shadow effects. IRAY: Use the IRay rendering technique for interactive quality and efficiency. REAL_TIME_PATHTRACING: Use real-time path tracing to balance performance with visual fidelity.

Example: .. code-block:: python

preset = CaptureRenderPreset.PATH_TRACE

Methods

Attributes

PATH_TRACE

RAY_TRACE

IRAY

REAL_TIME_PATHTRACING

__init__(*args, **kwds)#