#[no_mangle]
pub unsafe extern "C" fn nstd_gl_shader_module_new(
    data: &NSTDSlice,
    device: NSTDGLDevice
) -> NSTDGLShaderModule
Expand description

Creates a new shader module. Parameters: const NSTDSlice *const data - Raw spirv data. const NSTDGLDevice device - The device to create the shader module on. Returns: NSTDGLShaderModule shader - The new shader module.