public static void DestroyShader(ShaderHandle shader) { Bgfx.destroy_shader(shader); }
public static ProgramHandle CreateProgram(ShaderHandle vertex, ShaderHandle fragment, bool destroyShader) { var program = Bgfx.create_program(vertex, fragment, destroyShader); return(program); }