< Previous | Contents | Next >

ViewShadeNode

A ViewShadeNode object encapsulates a GLSL shader program string, and a number of exposed, run- time parameters. It should be created by the SetupShadeNode() function, which is called when the shader chain is being built. The created ViewShadeNode is passed to SetupParams() every refresh of the display so that any run-time parameters can be set.

 

Constructor