GPU Interop: Gpu To Cpu Copy

Generates a new AOV representing a CPU copy of a GPU buffer

Installation

To use this node enable omni.graph.image.nodes in the Extension Manager.

Inputs

Name

Type

Descripton

Default

AOV GPU (inputs:aovGpu)

string

Name of the RenderVar to copy from GPU to CPU. The RenderVar must be a valid texture on the RenderProduct, otherwise this node will not do anything.

GPU Foundations (inputs:gpu)

uint64

The shared context containing GPU foundation interfaces.

0

Render Product (inputs:rp)

uint64

The render product for this view.

0

Outputs

Name

Type

Descripton

Default

AOV CPU (outputs:aovCpu)

string

The name of the RenderVar representing the CPU buffer of the GPU resource. It is composed from the AOV GPU name with “_host” appended at the end.

GPU Foundations (outputs:gpu)

uint64

The shared context containing GPU foundation interfaces.

None

Render Product (outputs:rp)

uint64

The render product for this view.

None

Metadata

Name

Value

Unique ID

omni.graph.examples.cpp.GpuInteropGpuToCpuCopy

Version

2

Extension

omni.graph.image.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

GPU Interop: Gpu To Cpu Copy

Categories

graph:postRender,rendering

Generated Class Name

OgnGpuInteropGpuToCpuCopyDatabase

Python Module

omni.graph.image.nodes