VolumeViz/vvizOutputColor_frag.h File Reference

This file contains method use to output a color on the screen. More...

Go to the source code of this file.

Functions

void VVizOutputColor (vec4 color)
void VVizOutputColor (vec4 color, float firstHitBoundary, vec4 colorUntilBoundary, vec4 nprData, vec4 lightProjVertex)

Detailed Description

This file contains method use to output a color on the screen.

Definition in file vvizOutputColor_frag.h.


Function Documentation

void VVizOutputColor ( vec4  color,
float  firstHitBoundary,
vec4  colorUntilBoundary,
vec4  nprData,
vec4  lightProjVertex 
)
void VVizOutputColor ( vec4  color  ) 

This function sends the final fragment color to OpenGL.


It should be used instead of directly setting gl_FragData[0], in order to allow VolumeViz to do final manipulation of the color.

Should be used at the end of FRAGMENT_MAIN shader only.

Parameters:
color the color to render.

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/