Function ctru_sys::shaderProgramSetGsh
source · pub unsafe extern "C" fn shaderProgramSetGsh(
sp: *mut shaderProgram_s,
dvle: *mut DVLE_s,
stride: u8_
) -> Result
Expand description
Sets the geometry shader of a shader program.
§Arguments
sp
- Shader program to use.dvle
- Geometry shader to set.stride
- Input stride of the shader (pass 0 to match the number of outputs of the vertex shader).