Vizard 7 » Command Index » Vizard objects » shader » <shader>.loadFragment
7.6

<shader>.loadFragment

Load a fragment shader into the shader object

<shader>.loadFragment(  
shader  
)  
shader
Filename or code that contains fragment shader

Remarks

This command will add a GLSL fragment shader to the shader object. If a fragment shader is already added to the shader, then it will be replaced with the new one.

Return Value

None

See also

<shader>.loadGeometry
<shader>.loadVertex