Render modes.
| NvFlowRenderMaterialHandle NvFlowCreateRenderMaterial | ( | NvFlowContext * | context, | |
| NvFlowRenderMaterialPool * | pool, | |||
| const NvFlowRenderMaterialParams * | params | |||
| ) |
Create a render material.
| [in] | context | The context to use for GPU resource creation. |
| [in] | pool | The pool to create/own the material. |
| [in] | params | Material parameters. |
| NvFlowRenderMaterialPool* NvFlowCreateRenderMaterialPool | ( | NvFlowContext * | context, | |
| const NvFlowRenderMaterialPoolDesc * | desc | |||
| ) |
Creates a render material pool object.
| [in] | context | The context for GPU resource allocation. |
| [in] | desc | Description for memory allocation. |
| NvFlowRenderMaterialHandle NvFlowGetDefaultRenderMaterial | ( | NvFlowRenderMaterialPool * | pool | ) |
Get the default render material.
| [in] | pool | The pool to create/own the material. |
| void NvFlowReleaseRenderMaterial | ( | NvFlowRenderMaterialHandle | handle | ) |
Release a render material.
| [in] | handle | Handle to the material to release. |
| void NvFlowReleaseRenderMaterialPool | ( | NvFlowRenderMaterialPool * | pool | ) |
Releases a volume render object.
| [in] | pool | The volume render object to be released. |
| NvFlowColorMapData NvFlowRenderMaterialColorMap | ( | NvFlowContext * | context, | |
| NvFlowRenderMaterialHandle | handle | |||
| ) |
Map the color map associated with the material for write access.
| [in] | context | The context to use for mapping. |
| [in] | handle | Handle to the material to map. |
| void NvFlowRenderMaterialColorUnmap | ( | NvFlowContext * | context, | |
| NvFlowRenderMaterialHandle | handle | |||
| ) |
Unmap the color map associated with the material.
| [in] | context | The context to perform unmap. |
| [in] | handle | Handle to the material to unmap. |
| void NvFlowRenderMaterialParamsDefaults | ( | NvFlowRenderMaterialParams * | params | ) |
Allows the application to request default volume render material parameters from Flow.
| [out] | params | The parameters for Flow to fill out. |
| void NvFlowRenderMaterialUpdate | ( | NvFlowRenderMaterialHandle | handle, | |
| const NvFlowRenderMaterialParams * | params | |||
| ) |
Update a render material.
| [in] | handle | Handle to the material to update. |
| [in] | params | Material parameters. |