Example #1
0
 public static void EndDrawColor(IVertexBuffer vertexBuffer)
 {
     vertexBuffer.UnbindAttribute(ColorShader.Position);
 }
Example #2
0
 public static void EndDrawWireframe(IVertexBuffer vertexBuffer)
 {
     GL.PopAttrib();
     vertexBuffer.UnbindAttribute(WireframeShader.Position);
     vertexBuffer.UnbindAttribute(WireframeShader.Normal);
 }
Example #3
0
 public static void EndDrawModel(IVertexBuffer vertexBuffer)
 {
     vertexBuffer.UnbindAttribute(ModelShader.Position);
     vertexBuffer.UnbindAttribute(ModelShader.Normal);
     vertexBuffer.UnbindAttribute(ModelShader.TexCoord);
 }