public static void EndDrawColor(IVertexBuffer vertexBuffer) { vertexBuffer.UnbindAttribute(ColorShader.Position); }
public static void EndDrawWireframe(IVertexBuffer vertexBuffer) { GL.PopAttrib(); vertexBuffer.UnbindAttribute(WireframeShader.Position); vertexBuffer.UnbindAttribute(WireframeShader.Normal); }
public static void EndDrawModel(IVertexBuffer vertexBuffer) { vertexBuffer.UnbindAttribute(ModelShader.Position); vertexBuffer.UnbindAttribute(ModelShader.Normal); vertexBuffer.UnbindAttribute(ModelShader.TexCoord); }