UpdateState#

class omni.kit.material.library.UpdateState(
value,
names=<not given>,
*values,
module=None,
qualname=None,
type=None,
start=1,
boundary=None,
)#

Bases: Enum

State of cache of known materials in stage, passed to update_func.

Attributes

UPDATE

Cache is updating & partial list of materials is passed.

UPDATE_COMPLETE

Cache has finished updating & partial list of materials is passed..

COMPLETE_LIST

Cache has finished updating & complete list of materials is passed.

__init__(*args, **kwds)#
COMPLETE_LIST = 3#

Cache has finished updating & complete list of materials is passed.

UPDATE = 1#

Cache is updating & partial list of materials is passed.

UPDATE_COMPLETE = 2#

Cache has finished updating & partial list of materials is passed..