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

            return(program);
        }