public void SetPointer(OpenTK.Graphics.OpenGL.ArrayCap type, int nel, int stride, int offset) { pointers[type] = new vpoint() { size = nel, stride = stride, offset = offset }; }
public void ArrayEnabled(OpenTK.Graphics.OpenGL.ArrayCap type, bool enabled) { if (!enabled) { enables.Remove(type); } else if (enables.ContainsKey(type)) { throw new ArgumentException(); } else { enables.Add(type, new object()); } }