Exemple #1
0
 protected void LinkVertexAndFragmentShaderToProgram()
 {
     GLCore.AttachShader((uint)programHandle, (uint)vertexShaderHandle);
     GLCore.AttachShader((uint)programHandle, (uint)fragmentShaderHandle);
     GLCore.LinkProgram((uint)programHandle);
 }