From f5f6a899903a309f1fc93b31c0297fc7b3b5cf46 Mon Sep 17 00:00:00 2001 From: Andrew Reidmeyer Date: Wed, 15 Mar 2017 09:28:59 -0600 Subject: Initial 1.0.0 binary release --- .../api/files/group___nv_flow_render_material.html | 407 +++++++++++++++++++++ 1 file changed, 407 insertions(+) create mode 100644 docs/api/files/group___nv_flow_render_material.html (limited to 'docs/api/files/group___nv_flow_render_material.html') diff --git a/docs/api/files/group___nv_flow_render_material.html b/docs/api/files/group___nv_flow_render_material.html new file mode 100644 index 0000000..f0890f6 --- /dev/null +++ b/docs/api/files/group___nv_flow_render_material.html @@ -0,0 +1,407 @@ + + + NVIDIA(R) Flow(R) 1.0.0 API Reference: NvFlowRenderMaterial + + + + + + + + +
+

NvFlowRenderMaterial

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  NvFlowColorMapData
 Required information for writing to a CPU mapped color map. More...
struct  NvFlowRenderMaterialHandle
 A handle to a volume render material. More...
struct  NvFlowRenderMaterialParams
 Per material parameters for Flow grid rendering. More...
struct  NvFlowRenderMaterialPoolDesc
 Description necessary to create render material. More...

Enumerations

enum  NvFlowVolumeRenderMode {
+  eNvFlowVolumeRenderMode_colormap = 0, +eNvFlowVolumeRenderMode_raw = 1, +eNvFlowVolumeRenderMode_rainbow = 2, +eNvFlowVolumeRenderMode_debug = 3, +
+  eNvFlowVolumeRenderModeCount +
+ }
 Render modes. More...

Functions

NvFlowRenderMaterialHandle NvFlowCreateRenderMaterial (NvFlowContext *context, NvFlowRenderMaterialPool *pool, const NvFlowRenderMaterialParams *params)
NvFlowRenderMaterialPool * NvFlowCreateRenderMaterialPool (NvFlowContext *context, const NvFlowRenderMaterialPoolDesc *desc)
NvFlowRenderMaterialHandle NvFlowGetDefaultRenderMaterial (NvFlowRenderMaterialPool *pool)
void NvFlowReleaseRenderMaterial (NvFlowRenderMaterialHandle handle)
void NvFlowReleaseRenderMaterialPool (NvFlowRenderMaterialPool *pool)
NvFlowColorMapData NvFlowRenderMaterialColorMap (NvFlowContext *context, NvFlowRenderMaterialHandle handle)
void NvFlowRenderMaterialColorUnmap (NvFlowContext *context, NvFlowRenderMaterialHandle handle)
void NvFlowRenderMaterialParamsDefaults (NvFlowRenderMaterialParams *params)
void NvFlowRenderMaterialUpdate (NvFlowRenderMaterialHandle handle, const NvFlowRenderMaterialParams *params)
+

Enumeration Type Documentation

+ +
+
+ + + + +
enum NvFlowVolumeRenderMode
+
+
+ +

+Render modes. +

+

Enumerator:
+ + + + + + +
eNvFlowVolumeRenderMode_colormap  +Uses color map defined in render material.
eNvFlowVolumeRenderMode_raw  +Treats sampled value as RGBA.
eNvFlowVolumeRenderMode_rainbow  +Visualizes single component with rainbow color, good for density visualization.
eNvFlowVolumeRenderMode_debug  +Visualizes xyz components with color, good for velocity visualization.
eNvFlowVolumeRenderModeCount  +
+
+ +
+

+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
NvFlowRenderMaterialHandle NvFlowCreateRenderMaterial (NvFlowContext *  context,
NvFlowRenderMaterialPool *  pool,
const NvFlowRenderMaterialParams params 
)
+
+
+ +

+Create a render material.

+

Parameters:
+ + + + +
[in] context The context to use for GPU resource creation.
[in] pool The pool to create/own the material.
[in] params Material parameters.
+
+
Returns:
Returns a handle to the material.
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
NvFlowRenderMaterialPool* NvFlowCreateRenderMaterialPool (NvFlowContext *  context,
const NvFlowRenderMaterialPoolDesc desc 
)
+
+
+ +

+Creates a render material pool object.

+

Parameters:
+ + + +
[in] context The context for GPU resource allocation.
[in] desc Description for memory allocation.
+
+
Returns:
The created volume render object.
+ +
+

+ +

+
+ + + + + + + + + +
NvFlowRenderMaterialHandle NvFlowGetDefaultRenderMaterial (NvFlowRenderMaterialPool *  pool  ) 
+
+
+ +

+Get the default render material.

+

Parameters:
+ + +
[in] pool The pool to create/own the material.
+
+
Returns:
Returns a handle to the default material.
+ +
+

+ +

+
+ + + + + + + + + +
void NvFlowReleaseRenderMaterial (NvFlowRenderMaterialHandle  handle  ) 
+
+
+ +

+Release a render material.

+

Parameters:
+ + +
[in] handle Handle to the material to release.
+
+ +
+

+ +

+
+ + + + + + + + + +
void NvFlowReleaseRenderMaterialPool (NvFlowRenderMaterialPool *  pool  ) 
+
+
+ +

+Releases a volume render object.

+

Parameters:
+ + +
[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.

+

Parameters:
+ + + +
[in] context The context to use for mapping.
[in] handle Handle to the material to map.
+
+
Returns:
Returns a pointer and range of CPU memory for write access.
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void NvFlowRenderMaterialColorUnmap (NvFlowContext *  context,
NvFlowRenderMaterialHandle  handle 
)
+
+
+ +

+Unmap the color map associated with the material.

+

Parameters:
+ + + +
[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.

+

Parameters:
+ + +
[out] params The parameters for Flow to fill out.
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void NvFlowRenderMaterialUpdate (NvFlowRenderMaterialHandle  handle,
const NvFlowRenderMaterialParams params 
)
+
+
+ +

+Update a render material.

+

Parameters:
+ + + +
[in] handle Handle to the material to update.
[in] params Material parameters.
+
+ +
+

+

+ + + + -- cgit v1.2.3