diff options
| author | Andrew Reidmeyer <[email protected]> | 2018-11-29 08:59:10 -0700 |
|---|---|---|
| committer | Andrew Reidmeyer <[email protected]> | 2018-11-29 08:59:10 -0700 |
| commit | d97d9c21298f150261420555b7a3cabb4b823db6 (patch) | |
| tree | 69bd5c5e86574c187ed94f865b417df422683c61 /include/NvFlow.h | |
| parent | NvFlow 1.0.1 (diff) | |
| download | flow-customComposite.tar.xz flow-customComposite.zip | |
Custom composite.customComposite
Diffstat (limited to 'include/NvFlow.h')
| -rw-r--r-- | include/NvFlow.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/NvFlow.h b/include/NvFlow.h index 435c940..a23b555 100644 --- a/include/NvFlow.h +++ b/include/NvFlow.h @@ -1177,6 +1177,20 @@ struct NvFlowVolumeRenderDesc */ NV_FLOW_API NvFlowVolumeRender* NvFlowCreateVolumeRender(NvFlowContext* context, const NvFlowVolumeRenderDesc* desc); +//! From NvfContextExt +struct NvFlowBlendStateDesc; + +/** +* Creates a volume render object. +* +* @param[in] context The context for GPU resource allocation. +* @param[in] desc Description for memory allocation. +* @param[in] blendDesc Description for composite blending. +* +* @return The created volume render object. +*/ +NV_FLOW_API NvFlowVolumeRender* NvFlowCreateVolumeRenderCustomComposite(NvFlowContext* context, const NvFlowVolumeRenderDesc* desc, const NvFlowBlendStateDesc* blendDesc); + /** * Releases a volume render object. * |