public void Begin(Core.PrimitiveType primitiveType) { GL.Begin(primitiveType.ToString().ToEnum <OpenTK.Graphics.OpenGL.PrimitiveType>()); }
public void DrawElements(Core.PrimitiveType mode, int count, string type, IntPtr indices) { GL.DrawElements(mode.ToString().ToEnum <OpenTK.Graphics.OpenGL.PrimitiveType>(), count, type.ToEnum <DrawElementsType>(), indices); }