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

__categories

examples

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:autoFileNumber

int

-1

Y

If non zero, this number will be the starting number for export. Each invocation of this node increases the number by 1.

uiName

autoFileNumber

__default

-1

inputs:fileName

string

Y

Optional, if specified the output filename will be fileName_{aovGpu}.{fileType}

uiName

fileName

__default

“”

inputs:fileNumber

int

-1

Y

Number that will be appended to the exported filename. If -1 then the render product’s frame number will be used.

uiName

fileNumber

__default

-1

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:saveFlags

uint64

0

Y

Flags that will be passed to carb::imaging::IImaging for file saving.

uiName

saveFlags

__default

0

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