public void DrawArrays(GLPrimitiveType mode, int first, int count) { try { this.BeginFunc(); this._gl.DrawArrays(mode, first, count); } finally { this.EndFunc(); } }
public void DrawElements(GLPrimitiveType mode, int count, GLIndexType type, int offset) { try { this.BeginFunc(); this._gl.DrawElements(mode, count, type, offset); } finally { this.EndFunc(); } }
public void DrawArrays(GLPrimitiveType mode, int first, int count) { TKGL.DrawArrays((PrimitiveType)mode, first, count); }
internal abstract void glDrawElements(GLPrimitiveType mode, int count, GLElementType type, void *indices);
internal abstract void glDrawArrays(GLPrimitiveType mode, int first, int count);
internal abstract void glBegin(GLPrimitiveType mode);
public static extern void glDrawElements(GLPrimitiveType mode, int count, GLElementType type, void *indices);
public static extern void DrawArrays(GLPrimitiveType primitive, int first, int count);
public void DrawArrays(GLPrimitiveType mode, int first, int count) { MacGL.DrawArrays((BeginMode)mode, first, count); }
public void DrawElements(GLPrimitiveType mode, int count, GLIndexType type, int offset) { }
public void DrawArrays(GLPrimitiveType mode, int first, int count) { }
public static extern void DrawElements(GLPrimitiveType primitive, int count, uint type, int[] indices);
public static extern void Begin(GLPrimitiveType primitive);
public void DrawElements(GLPrimitiveType mode, int count, GLIndexType type, int offset) { TKGL.DrawElements((BeginMode)mode, count, (DrawElementsType)type, offset); }
public static void DrawArrays(GLPrimitiveType mode, int first, int count) { GL._gl.DrawArrays(mode, first, count); }
public static void DrawElements(GLPrimitiveType mode, int count, GLIndexType type, int offset) { GL._gl.DrawElements(mode, count, type, offset); }
public NewPrimitive(int elements, GLPrimitiveType type) { _elementCount = elements; _type = type; _indices = new UnsafeBuffer(_elementCount * 2); //ushort or uint? }
public static extern void glBegin(GLPrimitiveType mode);