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