bgfx_create_compute_program

Create program with compute shader.

  1. bgfx_program_handle_t bgfx_create_compute_program(bgfx_shader_handle_t _csh, bool _destroyShaders)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    bgfx_create_compute_program
  2. da_bgfx_create_compute_program bgfx_create_compute_program;

Parameters

_csh bgfx_shader_handle_t

Compute shader.

_destroyShaders bool

If true, shaders will be destroyed when program is destroyed.

Meta