Data Structures | |
| struct | NvFlowGridImportDesc |
| Description required to create GridImport. More... | |
| struct | NvFlowGridImportHandle |
| Texture channel handle. More... | |
| struct | NvFlowGridImportLayeredView |
| Description applying to all imported layers. More... | |
| struct | NvFlowGridImportLayerView |
| Description of a single imported layer. More... | |
| struct | NvFlowGridImportParams |
| Parameters for grabbing import view. More... | |
| struct | NvFlowGridImportStateCPUParams |
| Parameters for grabbing import view. More... | |
Enumerations | |
| enum | NvFlowGridImportMode { eNvFlowGridImportModePoint = 0, eNvFlowGridImportModeLinear = 1 } |
| Grid import modes. More... | |
Functions | |
| NvFlowGridImport * | NvFlowCreateGridImport (NvFlowContext *context, const NvFlowGridImportDesc *desc) |
| NvFlowGridImportStateCPU * | NvFlowCreateGridImportStateCPU (NvFlowGridImport *gridImport) |
| NvFlowGridExport * | NvFlowGridImportGetGridExport (NvFlowGridImport *gridImport, NvFlowContext *context) |
| NvFlowGridImportHandle | NvFlowGridImportGetHandle (NvFlowGridImport *gridImport, NvFlowContext *context, const NvFlowGridImportParams *params) |
| void | NvFlowGridImportGetLayeredView (NvFlowGridImportHandle handle, NvFlowGridImportLayeredView *layeredView) |
| void | NvFlowGridImportGetLayerView (NvFlowGridImportHandle handle, NvFlowUint layerIdx, NvFlowGridImportLayerView *layerView) |
| void | NvFlowGridImportReleaseChannel (NvFlowGridImport *gridImport, NvFlowContext *context, NvFlowGridTextureChannel channel) |
| NvFlowGridImportHandle | NvFlowGridImportStateCPUGetHandle (NvFlowGridImport *gridImport, NvFlowContext *context, const NvFlowGridImportStateCPUParams *params) |
| void | NvFlowGridImportUpdateStateCPU (NvFlowGridImportStateCPU *stateCPU, NvFlowContext *context, NvFlowGridExport *gridExport) |
| void | NvFlowReleaseGridImport (NvFlowGridImport *gridImport) |
| void | NvFlowReleaseGridImportStateCPU (NvFlowGridImportStateCPU *stateCPU) |
| enum NvFlowGridImportMode |
| NvFlowGridImport* NvFlowCreateGridImport | ( | NvFlowContext * | context, | |
| const NvFlowGridImportDesc * | desc | |||
| ) |
Create a standalone grid import.
| [in] | context | The context to use to create the new grid import. |
| [in] | desc | Description required to create grid import. |
| NvFlowGridImportStateCPU* NvFlowCreateGridImportStateCPU | ( | NvFlowGridImport * | gridImport | ) |
Create a grid import CPU state object.
| [in] | gridImport | The grid import to create the CPU state against. |
| NvFlowGridExport* NvFlowGridImportGetGridExport | ( | NvFlowGridImport * | gridImport, | |
| NvFlowContext * | context | |||
| ) |
Get grid export for read access to grid import data.
| [in] | gridImport | The grid import. |
| [in] | context | The context used to create the grid import. |
| NvFlowGridImportHandle NvFlowGridImportGetHandle | ( | NvFlowGridImport * | gridImport, | |
| NvFlowContext * | context, | |||
| const NvFlowGridImportParams * | params | |||
| ) |
Get import handle for the specified grid texture channel and import mode.
| [in] | gridImport | The grid import. |
| [in] | context | The context used to create the grid import. |
| [in] | params | Parameters for import handle. |
| void NvFlowGridImportGetLayeredView | ( | NvFlowGridImportHandle | handle, | |
| NvFlowGridImportLayeredView * | layeredView | |||
| ) |
Get layeredView data for specified importHandle.
| [in] | handle | The grid import handle. |
| [out] | layeredView | Destination for layeredView data. |
| void NvFlowGridImportGetLayerView | ( | NvFlowGridImportHandle | handle, | |
| NvFlowUint | layerIdx, | |||
| NvFlowGridImportLayerView * | layerView | |||
| ) |
Get layerView data for specified importHandle and layer index.
| [in] | handle | The grid import handle. |
| [in] | layerIdx | The layer index to return the layerView of. |
| [out] | layerView | Destination for layerView data. |
| void NvFlowGridImportReleaseChannel | ( | NvFlowGridImport * | gridImport, | |
| NvFlowContext * | context, | |||
| NvFlowGridTextureChannel | channel | |||
| ) |
Release grid texture channel for grid import, allowing for memory recycle.
| [in] | gridImport | The grid import. |
| [in] | context | The context used to create the grid import. |
| [in] | channel | The grid texture channel to release. |
| NvFlowGridImportHandle NvFlowGridImportStateCPUGetHandle | ( | NvFlowGridImport * | gridImport, | |
| NvFlowContext * | context, | |||
| const NvFlowGridImportStateCPUParams * | params | |||
| ) |
Get import handle, using previously captured CPU state to control configuration.
| [in] | gridImport | The grid import. |
| [in] | context | The context used to create the grid import. |
| [in] | params | Parameters for import handle. |
| void NvFlowGridImportUpdateStateCPU | ( | NvFlowGridImportStateCPU * | stateCPU, | |
| NvFlowContext * | context, | |||
| NvFlowGridExport * | gridExport | |||
| ) |
Capture CPU state from the provided grid export.
| [in] | stateCPU | The grid import CPU state to update. |
| [in] | context | The context used to create the grid export. |
| [in] | gridExport | The grid export to capture the CPU state of. |
| void NvFlowReleaseGridImport | ( | NvFlowGridImport * | gridImport | ) |
Release a standalone grid import.
| [in] | gridImport | The grid import to release. |
| void NvFlowReleaseGridImportStateCPU | ( | NvFlowGridImportStateCPU * | stateCPU | ) |
Release a grid import CPU state object.
| [in] | stateCPU | The grid import CPU state to release. |