Exemplo n.º 1
0
        public int GetProgramParameter(GLProgramHandle program, GLProgramParameter pname)
        {
            int result;

            GL.GetProgram((int)program, (ProgramParameter)pname, out result);
            return(result);
        }
Exemplo n.º 2
0
Arquivo: GL.cs Projeto: mortend/uno
        public int GetProgramParameter(GLProgramHandle program, GLProgramParameter pname)
        {
            int result;

            TKGL.GetProgram((uint)(int)program, (GetProgramParameterName)pname, out result);
            return(result);
        }
Exemplo n.º 3
0
 public void UseProgram(GLProgramHandle program)
 {
     try
     {
         this.BeginFunc();
         this._gl.UseProgram(program);
     }
     finally
     {
         this.EndFunc();
     }
 }
Exemplo n.º 4
0
 public int GetUniformLocation(GLProgramHandle program, string name)
 {
     try
     {
         this.BeginFunc();
         return(this._gl.GetUniformLocation(program, name));
     }
     finally
     {
         this.EndFunc();
     }
 }
Exemplo n.º 5
0
 public void BindAttribLocation(GLProgramHandle program, int index, string name)
 {
     try
     {
         this.BeginFunc();
         this._gl.BindAttribLocation(program, index, name);
     }
     finally
     {
         this.EndFunc();
     }
 }
Exemplo n.º 6
0
 public int GetProgramParameter(GLProgramHandle program, GLProgramParameter pname)
 {
     try
     {
         this.BeginFunc();
         return(this._gl.GetProgramParameter(program, pname));
     }
     finally
     {
         this.EndFunc();
     }
 }
Exemplo n.º 7
0
 public string GetProgramInfoLog(GLProgramHandle program)
 {
     try
     {
         this.BeginFunc();
         return(this._gl.GetProgramInfoLog(program));
     }
     finally
     {
         this.EndFunc();
     }
 }
Exemplo n.º 8
0
 public void DetachShader(GLProgramHandle program, GLShaderHandle shader)
 {
     try
     {
         this.BeginFunc();
         this._gl.DetachShader(program, shader);
     }
     finally
     {
         this.EndFunc();
     }
 }
Exemplo n.º 9
0
Arquivo: GL.cs Projeto: mortend/uno
 public void LinkProgram(GLProgramHandle program)
 {
     TKGL.LinkProgram((int)program);
 }
Exemplo n.º 10
0
Arquivo: GL.cs Projeto: mortend/uno
 public void DetachShader(GLProgramHandle program, GLShaderHandle shader)
 {
     TKGL.DetachShader((int)program, (int)shader);
 }
Exemplo n.º 11
0
Arquivo: GL.cs Projeto: mortend/uno
 public void DeleteProgram(GLProgramHandle program)
 {
     DisposeAndRemoveObject(_programs, (int)program);
 }
Exemplo n.º 12
0
Arquivo: GL.cs Projeto: mortend/uno
 public int GetUniformLocation(GLProgramHandle program, string name)
 {
     return(TKGL.GetUniformLocation((int)program, name));
 }
Exemplo n.º 13
0
Arquivo: GL.cs Projeto: mortend/uno
 public void BindAttribLocation(GLProgramHandle program, int index, string name)
 {
     TKGL.BindAttribLocation((int)program, index, name);
 }
Exemplo n.º 14
0
Arquivo: GL.cs Projeto: yongaru/uno
 public static void BindAttribLocation(GLProgramHandle handle, int index, string name)
 {
     GL._gl.BindAttribLocation(handle, index, name);
 }
Exemplo n.º 15
0
Arquivo: GL.cs Projeto: yongaru/uno
 public static void DetachShader(GLProgramHandle program, GLShaderHandle shader)
 {
     GL._gl.DetachShader(program, shader);
 }
Exemplo n.º 16
0
 public void BindAttribLocation(GLProgramHandle handle, int index, string name)
 {
     GL.BindAttribLocation((int)handle, index, name);
 }
Exemplo n.º 17
0
Arquivo: GL.cs Projeto: yongaru/uno
 public static int GetUniformLocation(GLProgramHandle program, string name)
 {
     return(GL._gl.GetUniformLocation(program, name));
 }
Exemplo n.º 18
0
Arquivo: GL.cs Projeto: yongaru/uno
 public static void UseProgram(GLProgramHandle program)
 {
     GL._gl.UseProgram(program);
 }
Exemplo n.º 19
0
Arquivo: GL.cs Projeto: yongaru/uno
 public static void LinkProgram(GLProgramHandle program)
 {
     GL._gl.LinkProgram(program);
 }
Exemplo n.º 20
0
Arquivo: GL.cs Projeto: yongaru/uno
 public static string GetProgramInfoLog(GLProgramHandle program)
 {
     return(GL._gl.GetProgramInfoLog(program));
 }
Exemplo n.º 21
0
Arquivo: GL.cs Projeto: yongaru/uno
 public static int GetProgramParameter(GLProgramHandle program, GLProgramParameter pname)
 {
     return(GL._gl.GetProgramParameter(program, pname));
 }
Exemplo n.º 22
0
 public string GetProgramInfoLog(GLProgramHandle program)
 {
     return("");
 }
Exemplo n.º 23
0
Arquivo: GL.cs Projeto: mortend/uno
 public string GetProgramInfoLog(GLProgramHandle program)
 {
     return(TKGL.GetProgramInfoLog((int)program));
 }
Exemplo n.º 24
0
Arquivo: GL.cs Projeto: yongaru/uno
 public static void DeleteProgram(GLProgramHandle program)
 {
     GL._gl.DeleteProgram(program);
 }
Exemplo n.º 25
0
 public int GetProgramParameter(GLProgramHandle program, GLProgramParameter pname)
 {
     return(0);
 }
Exemplo n.º 26
0
Arquivo: GL.cs Projeto: mortend/uno
 public void UseProgram(GLProgramHandle program)
 {
     TKGL.UseProgram((int)program);
 }
Exemplo n.º 27
0
 public int GetAttribLocation(GLProgramHandle program, string name)
 {
     return(GL.GetAttribLocation((int)program, name));
 }
Exemplo n.º 28
0
 public string GetProgramInfoLog(GLProgramHandle program)
 {
     return(MacGL.GetShaderInfoLog((int)program));
 }
Exemplo n.º 29
0
 public void AttachShader(GLProgramHandle program, GLShaderHandle shader)
 {
     GL.AttachShader((int)program, (int)shader);
 }
Exemplo n.º 30
0
 public void LinkProgram(GLProgramHandle program)
 {
 }