<shader>.loadGeometry

Load a geometry shader into the shader object

 

<shader>.loadGeometry(
    shader    

)

 

shader

Filename or code that contains the geometry shader


Remarks

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

Return Value

None

See also

<shader>.loadFragment
<shader>.loadVertex