GPU Interop: Cpu To Disk
Saves specified CPU buffer to disk
Installation
To use this node enable omni.graph.image.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
activeReset (inputs:active) |
|
Alternative to frameCount/startFrame, does a single frame then autoResets to false |
False |
aovCpu (inputs:aovCpu) |
|
Name of AOV representing CPU buffer of GPU resource |
|
aovGpu (inputs:aovGpu) |
|
Name of AOV representing GPU resource, used for querying format + properties |
|
autoFileNumber (inputs:autoFileNumber) |
|
If non zero, this number will be the starting number for export. Each invocation of this node increases the number by 1. |
-1 |
fileName (inputs:fileName) |
|
Optional, if specified the output filename will be fileName_{aovGpu}.{fileType} |
|
fileNumber (inputs:fileNumber) |
|
Number that will be appended to the exported filename. If -1 then the render product’s frame number will be used. |
-1 |
fileType (inputs:fileType) |
|
bmp,png,exr |
png |
frameCount (inputs:frameCount) |
|
Number of frames to capture (-1 means never stop) |
-1 |
gpuFoundations (inputs:gpu) |
|
Pointer to shared context containing gpu foundations |
0 |
maxInflightWrites (inputs:maxInflightWrites) |
|
Maximum number of in-flight file write operations before blocking on file i/o |
2 |
renderProduct (inputs:rp) |
|
Pointer to render product for this view |
0 |
saveFlags (inputs:saveFlags) |
|
Flags that will be passed to carb::imaging::IImaging for file saving. |
0 |
saveLocation (inputs:saveLocation) |
|
Folder to save AOVs as AOV_FrameNumber.{exr,png} |
|
startFrame (inputs:startFrame) |
|
Frame to begin saving to disk |
0 |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
gpuFoundations (outputs:gpu) |
|
Pointer to shared context containing gpu foundations |
None |
renderProduct (outputs:rp) |
|
Pointer to render product for this view |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.examples.cpp.GpuInteropCpuToDisk |
Version |
2 |
Extension |
omni.graph.image.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
GPU Interop: Cpu To Disk |
Categories |
examples |
Generated Class Name |
OgnGpuInteropCpuToDiskDatabase |
Python Module |
omni.graph.image.nodes |