NvFlowCrossSectionParams Struct Reference
[NvFlowCrossSection]

Parameters needed to render cross section. More...

#include <NvFlow.h>


Data Fields

NvFlowFloat4 backgroundColor
 Background color.
NvFlowFloat4 cellColor
 Color for cell outline.
NvFlowUint crossSectionAxis
 Cross section to visualize, 0 to 2 range.
NvFlowFloat3 crossSectionPosition
 Offset in grid NDC for view.
float crossSectionScale
 Scale on cross section to allow zooming.
NvFlowDepthStencilView * depthStencilView
 Depth stencil view for depth testing with ray march.
bool fullscreen
 If true, covers entire viewport, if false, top right corner.
NvFlowGridExport * gridExport
 gridExport used for final rendering
NvFlowGridExport * gridExportDebugVis
 gridExport direct from simulation
float intensityScale
 scales the visualization intensity
NvFlowFloat4 lineColor
 Color to use for any lines drawn.
NvFlowRenderMaterialPool * materialPool
 Pool of materials to look for matches to GridMaterials.
bool outlineCells
 Draw lines around cell boundaries.
bool pointFilter
 If true, point filter so the cells are easy to see.
NvFlowFloat4x4 projectionMatrix
 Projection matrix, row major.
NvFlowGridTextureChannel renderChannel
 GridExport channel to render.
NvFlowVolumeRenderMode renderMode
 Render mode, see NvFlowVolumeRenderMode.
NvFlowRenderTargetView * renderTargetView
 Render target view to composite ray marched result against.
float vectorLengthScale
 Controls maximum velocity vector line length.
float velocityScale
 Scale to adjust vector length as a function of velocity.
bool velocityVectors
 If true, overlay geometric velocity vectors.
NvFlowFloat4x4 viewMatrix
 View matrix, row major.


Detailed Description

Parameters needed to render cross section.

Field Documentation

Background color.

Color for cell outline.

Cross section to visualize, 0 to 2 range.

Offset in grid NDC for view.

Scale on cross section to allow zooming.

Depth stencil view for depth testing with ray march.

If true, covers entire viewport, if false, top right corner.

gridExport used for final rendering

gridExport direct from simulation

scales the visualization intensity

Color to use for any lines drawn.

NvFlowRenderMaterialPool* NvFlowCrossSectionParams::materialPool

Pool of materials to look for matches to GridMaterials.

Draw lines around cell boundaries.

If true, point filter so the cells are easy to see.

Projection matrix, row major.

GridExport channel to render.

Render mode, see NvFlowVolumeRenderMode.

Render target view to composite ray marched result against.

Controls maximum velocity vector line length.

Scale to adjust vector length as a function of velocity.

If true, overlay geometric velocity vectors.

View matrix, row major.


The documentation for this struct was generated from the following file: