in_compute#
- omni.graph.core.in_compute()#
Mark block of code executed at runtime. Optimizations can apply like setting values without undo support.
This function is a context manager.
Example:
with omni.graph.in_compute(): exec(state._code_object)
- Yields:
None – Just used to mark a compute section