GetShaderInfoLog() public static méthode

public static GetShaderInfoLog ( Int32 shader ) : string
shader System.Int32
Résultat string
Exemple #1
0
        public static int CreateShader(string shaderSource, ShaderType type)
        {
            int shaderHandle = GL.CreateShader(type);

            GL.ShaderSource(shaderHandle, shaderSource);
            GL.CompileShader(shaderHandle);
            Console.WriteLine(GL.GetShaderInfoLog(shaderHandle));
            return(shaderHandle);
        }
Exemple #2
0
 public string GetShaderInfoLog(GLShaderHandle shader)
 {
     return(GL.GetShaderInfoLog((int)shader));
 }
Exemple #3
0
 public string GetProgramInfoLog(GLProgramHandle program)
 {
     return(MacGL.GetShaderInfoLog((int)program));
 }