mani_skill.utils.structs.decorators#

Functions#

before_gpu_init(func)

decorator to throw an error if a function is called when gpu sim has been initialized already. Used for functions such as setting friction values which currently

Module Contents#

mani_skill.utils.structs.decorators.before_gpu_init(func)[source]#

decorator to throw an error if a function is called when gpu sim has been initialized already. Used for functions such as setting friction values which currently cannot be changed once the gpu simulation has started.