Exemplo n.º 1
0
 public void BufferData(BufferTarget target, IntPtr size, IntPtr data, BufferUsageHint usage)
 {
     GL.BufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, size, data, (OpenTK.Graphics.OpenGL4.BufferUsageHint)usage);
 }
Exemplo n.º 2
0
 public void BufferSubData(BufferTarget target, IntPtr offset, IntPtr size, IntPtr data)
 {
     GL.BufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, offset, size, data);
 }
Exemplo n.º 3
0
 public void BindBuffer(BufferTarget target, int buffer)
 {
     GL.BindBuffer((OpenTK.Graphics.OpenGL4.BufferTarget)target, buffer);
 }