OmniGraph Node omni.graph.examples.cpp.GpuInteropCpuToDisk¶
omni.graph.examples.cpp.GpuInteropCpuToDisk Properties¶
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.graph.examples.cpp |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
CpuToDisk |
Generated Class Name |
OgnGpuInteropCpuToDiskDatabase |
Python Module |
omni.graph.examples.cpp |
omni.graph.examples.cpp.GpuInteropCpuToDisk Description¶
Saves specified CPU buffer to disk
omni.graph.examples.cpp.GpuInteropCpuToDisk Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:active |
bool |
False |
Y |
Alternative to frameCount/startFrame, does a single frame then autoResets to false |
uiName |
activeReset |
|||
__default |
false |
|||
inputs:aovCpu |
string |
Y |
Name of AOV representing CPU buffer of GPU resource |
|
uiName |
aovCpu |
|||
__default |
“” |
|||
inputs:aovGpu |
string |
Y |
Name of AOV representing GPU resource, used for querying format + properties |
|
uiName |
aovGpu |
|||
__default |
“” |
|||
inputs:fileName |
string |
Y |
Optional, if specified the output filename will be fileName_{aovGpu}.{fileType} |
|
uiName |
fileName |
|||
__default |
“” |
|||
inputs:fileType |
string |
png |
Y |
bmp,png,exr |
uiName |
fileType |
|||
__default |
“png” |
|||
inputs:frameCount |
int64 |
-1 |
Y |
Number of frames to capture (-1 means never stop) |
uiName |
frameCount |
|||
__default |
-1 |
|||
inputs:gpu |
uint64 |
0 |
Y |
Pointer to shared context containing gpu foundations |
uiName |
gpuFoundations |
|||
inputs:maxInflightWrites |
int |
2 |
Y |
Maximum number of in-flight file write operations before blocking on file i/o |
uiName |
maxInflightWrites |
|||
__default |
2 |
|||
inputs:rp |
uint64 |
0 |
Y |
Pointer to render product for this view |
uiName |
renderProduct |
|||
inputs:saveLocation |
string |
Y |
Folder to save AOVs as AOV_FrameNumber.{exr,png} |
|
uiName |
saveLocation |
|||
__default |
“” |
|||
inputs:startFrame |
uint64 |
0 |
Y |
Frame to begin saving to disk |
uiName |
startFrame |
|||
__default |
0 |
omni.graph.examples.cpp.GpuInteropCpuToDisk Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:gpu |
uint64 |
None |
Y |
Pointer to shared context containing gpu foundations |
uiName |
gpuFoundations |
|||
outputs:rp |
uint64 |
None |
Y |
Pointer to render product for this view |
uiName |
renderProduct |