RpResource Example Allocator Node
Allocate CUDA-interoperable RpResource
Installation
To use this Node, you must enable omni.graph.nodes
in the Extension Manager.
Inputs
Name |
Type |
Description |
Default |
---|---|---|---|
stream (stream) |
|
Pointer to the CUDA Stream |
|
Prim path input (primPath) |
|
Prim path input. Points and a prim path may be supplied directly as an alternative to a bundle input. |
|
Prim Points (points) |
|
Points attribute input. Points and a prim path may be supplied directly as an alternative to a bundle input. |
|
Verbose (verbose) |
|
verbose printing |
False |
Reload (reload) |
|
Force RpResource reload |
False |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
Resource Pointer Collection (resourcePointerCollection) |
|
Pointers to RpResources (two resources per prim are allocated – one for rest positions and one for deformed positions) |
|
Point Counts (pointCountCollection) |
|
Point count for each prim being deformed |
|
Prim Paths (primPathCollection) |
|
Path for each prim being deformed |
|
Reload (reload) |
|
Force RpResource reload |
False |
stream (stream) |
|
Pointer to the CUDA Stream |