Function ctru_sys::shaderInstanceGetBool
source · pub unsafe extern "C" fn shaderInstanceGetBool(
si: *mut shaderInstance_s,
id: c_int,
value: *mut bool
) -> Result
Expand description
Gets a bool uniform of a shader.
§Arguments
si
- Shader instance to use.id
- ID of the bool uniform.value
- Pointer to output the value to.