public GLVertexArrayObject(string name) { GLObject = GL.GenVertexArray(); GLHelper.LabelObj(ObjectLabelIdentifier.VertexArray, GLObject, $"VAO: {name}"); }
public GLUIntBuffer(string name) { GLObject = GL.GenBuffer(); GLHelper.LabelObj(ObjectLabelIdentifier.Buffer, GLObject, $"UIntBuffer: {name}"); }
public GLShaderProgram Label(string name) { GLHelper.LabelObj(ObjectLabelIdentifier.Program, GLObject, name); return(this); }
public GLFloatBuffer(string name) { Name = name; GLObject = GL.GenBuffer(); GLHelper.LabelObj(ObjectLabelIdentifier.Buffer, GLObject, $"FloatBuffer: {name}"); }