Data Structures | |
| struct | NvFlowCrossSectionDesc |
| Description required to create cross section object. More... | |
| struct | NvFlowCrossSectionParams |
| Parameters needed to render cross section. More... | |
Functions | |
| NvFlowCrossSection * | NvFlowCreateCrossSection (NvFlowContext *context, const NvFlowCrossSectionDesc *desc) |
| void | NvFlowCrossSectionParamsDefaults (NvFlowCrossSectionParams *params) |
| void | NvFlowCrossSectionRender (NvFlowCrossSection *crossSection, NvFlowContext *context, const NvFlowCrossSectionParams *params) |
| void | NvFlowReleaseCrossSection (NvFlowCrossSection *crossSection) |
| NvFlowCrossSection* NvFlowCreateCrossSection | ( | NvFlowContext * | context, | |
| const NvFlowCrossSectionDesc * | desc | |||
| ) |
Creates a cross section object.
| [in] | context | The context for GPU resource allocation. |
| [in] | desc | Description for memory allocation. |
| void NvFlowCrossSectionParamsDefaults | ( | NvFlowCrossSectionParams * | params | ) |
Allows the application to request default cross section parameters from Flow.
| [out] | params | The parameters for Flow to fill out. |
| void NvFlowCrossSectionRender | ( | NvFlowCrossSection * | crossSection, | |
| NvFlowContext * | context, | |||
| const NvFlowCrossSectionParams * | params | |||
| ) |
Renders a cross section of a grid export.
| [in] | crossSection | The cross section object. |
| [in] | context | The context that allocated the cross section object. |
| [in] | params | Parameters for cross section rendering. |
| void NvFlowReleaseCrossSection | ( | NvFlowCrossSection * | crossSection | ) |
Releases a cross section object.
| [in] | crossSection | The cross section object to be released. |