Function bgfx_sys::bgfx_create_compute_program
source · pub unsafe extern "C" fn bgfx_create_compute_program(
_csh: bgfx_shader_handle_t,
_destroyShaders: bool
) -> bgfx_program_handle_t
Expand description
Create program with compute shader.
@param[in] _csh Compute shader. @param[in] _destroyShaders If true, shaders will be destroyed when program is destroyed.
@returns Program handle.