<shader>.loadVertex

Load a vertex shader into the shader object

 

<shader>.loadVertex(
    shader    

)

 

shader

Filename or code that contains fragment shader


Remarks

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

Return Value

None

See also

<shader>.loadFragment
<shader>.loadGeometry