This file contains protoype method to redefine to replace FRAGMENT_COMPUTE_COLOR slot. More...
Go to the source code of this file.
| Functions | |
| vec4 | VVizComputeFragmentColor (in VVizDataSetId dataset, in vec3 rayDir, inout VVizVoxelInfo voxelInfoFront, in VVizVoxelInfo voxelInfoBack, in int mask) | 
This file contains protoype method to redefine to replace FRAGMENT_COMPUTE_COLOR slot.
Definition in file vvizComputeFragmentColor_frag.h.
| vec4 VVizComputeFragmentColor | ( | in VVizDataSetId | dataset, | |
| in vec3 | rayDir, | |||
| inout VVizVoxelInfo | voxelInfoFront, | |||
| in VVizVoxelInfo | voxelInfoBack, | |||
| in int | mask | |||
| ) | 
SoVolumeShader::FRAGMENT_COMPUTE_COLOR function.
Applications can replace this method to customize the SoVolumeShader::FRAGMENT_COMPUTE_COLOR shader stage. 
 Note: This version of the method is only used by the SoVolumeRender node.
| dataset | Dataset id | |
| rayDir | ray Direction in volume space. | |
| voxelInfoFront | Voxel info of front slice. | |
| voxelInfoBack | Voxel info of back slice | |
| mask | Current mask Id |