Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
vvizApplyMask_frag.h File Reference

Go to the source code of this file.

Functions

vec4 VVizApplyBoundary (vec4 fragColor, int maskFront, int maskBack, VVizVoxelInfo voxelFront, VVizVoxelInfo voxelBack)
 This method is used to apply a volume mask to the volume and should be called in a custom fragment shader in order to support the SoVolumeMask node.
 
vec4 VVizApplyBoundary (vec4 fragColor, int maskFront, VVizVoxelInfo voxelFront, VVizVoxelInfo voxelBack)
 
vec4 VVizApplyBoundary (in VVizDataSetId dataset, vec4 fragColor, int maskFront, int maskBack, VVizVoxelInfo voxelFront, VVizVoxelInfo voxelBack)
 This method is used to apply a volume mask to the volume and should be called in a custom fragment shader in order to support the SoVolumeMask node.
 
vec4 VVizApplyBoundary (in VVizDataSetId dataset, vec4 fragColor, int maskFront, VVizVoxelInfo voxelFront, VVizVoxelInfo voxelBack)
 

Variables

uniform int VVizGlobalDataDrawStyleId
 

Function Documentation

◆ VVizApplyBoundary() [1/4]

vec4 VVizApplyBoundary ( in VVizDataSetId  dataset,
vec4  fragColor,
int  maskFront,
int  maskBack,
VVizVoxelInfo  voxelFront,
VVizVoxelInfo  voxelBack 
)

This method is used to apply a volume mask to the volume and should be called in a custom fragment shader in order to support the SoVolumeMask node.

◆ VVizApplyBoundary() [2/4]

vec4 VVizApplyBoundary ( in VVizDataSetId  dataset,
vec4  fragColor,
int  maskFront,
VVizVoxelInfo  voxelFront,
VVizVoxelInfo  voxelBack 
)

◆ VVizApplyBoundary() [3/4]

vec4 VVizApplyBoundary ( vec4  fragColor,
int  maskFront,
int  maskBack,
VVizVoxelInfo  voxelFront,
VVizVoxelInfo  voxelBack 
)

This method is used to apply a volume mask to the volume and should be called in a custom fragment shader in order to support the SoVolumeMask node.

◆ VVizApplyBoundary() [4/4]

vec4 VVizApplyBoundary ( vec4  fragColor,
int  maskFront,
VVizVoxelInfo  voxelFront,
VVizVoxelInfo  voxelBack 
)

Variable Documentation

◆ VVizGlobalDataDrawStyleId

uniform int VVizGlobalDataDrawStyleId

Definition at line 27 of file vvizApplyMask_frag.h.