pub unsafe extern "C" fn shaderProgramConfigure(
    sp: *mut shaderProgram_s,
    sendVshCode: bool,
    sendGshCode: bool
) -> Result
Expand description

Configures the shader units to use the specified shader program.

§Arguments

  • sp - Shader program to use.
  • sendVshCode - When true, the vertex shader’s code and operand descriptors are uploaded.
  • sendGshCode - When true, the geometry shader’s code and operand descriptors are uploaded.