The Vish Visualization Shell 0.3
Vish
Static Public Member Functions | List of all members
Wizt::ClippingPlanes Struct Reference

VRenderObjects that want to support clipping planes may derive from this class, must call initializeAnemone() in their own respective code and insert the setClipDistances() code into their vertex or geometry shader code. More...

#include <ocean/Anemonia/ClippingPlanes.hpp>

Static Public Member Functions

static RenderNamespace::glsl setClipDistances ()
 Defines a GLSL function that has to be called before each vertex is emitted, i.e.
 

Detailed Description

VRenderObjects that want to support clipping planes may derive from this class, must call initializeAnemone() in their own respective code and insert the setClipDistances() code into their vertex or geometry shader code.

Member Function Documentation

◆ setClipDistances()

RenderNamespace::glsl Wizt::ClippingPlanes::setClipDistances ( )
static

Defines a GLSL function that has to be called before each vertex is emitted, i.e.

either in the vertex shader or before EmitVertex() in the geometry shader.

vish_setClipDistances(vec3 WorldFragmentCoordinates);