RasterPolicy

class omni.ui.RasterPolicy

Bases: pybind11_object

Used to set the rasterization behaviour.

Members:

NEVER : Do not rasterize the widget at any time.

ON_DEMAND : Rasterize the widget as soon as possible and always use the rasterized version. This means that the widget will only be updated when the user called invalidateRaster.

AUTO : Automatically determine whether to rasterize the widget based on performance considerations. If necessary, the widget will be rasterized and updated when its content changes.

Methods

__init__(self, value)

Attributes

AUTO

NEVER

ON_DEMAND

name

value

__init__(self: omni.ui._ui.RasterPolicy, value: int) None
property name