Exemple #1
0
 public void DrawArrays(GLPrimitiveType mode, int first, int count)
 {
     try
     {
         this.BeginFunc();
         this._gl.DrawArrays(mode, first, count);
     }
     finally
     {
         this.EndFunc();
     }
 }
Exemple #2
0
 public void DrawElements(GLPrimitiveType mode, int count, GLIndexType type, int offset)
 {
     try
     {
         this.BeginFunc();
         this._gl.DrawElements(mode, count, type, offset);
     }
     finally
     {
         this.EndFunc();
     }
 }
Exemple #3
0
 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);
Exemple #7
0
 public static extern void glDrawElements(GLPrimitiveType mode, int count, GLElementType type, void *indices);
Exemple #8
0
 public static extern void DrawArrays(GLPrimitiveType primitive, int first, int count);
Exemple #9
0
 public void DrawArrays(GLPrimitiveType mode, int first, int count)
 {
     MacGL.DrawArrays((BeginMode)mode, first, count);
 }
Exemple #10
0
 public void DrawElements(GLPrimitiveType mode, int count, GLIndexType type, int offset)
 {
 }
Exemple #11
0
 public void DrawArrays(GLPrimitiveType mode, int first, int count)
 {
 }
Exemple #12
0
 public static extern void DrawArrays(GLPrimitiveType primitive, int first, int count);
Exemple #13
0
 public static extern void DrawElements(GLPrimitiveType primitive, int count, uint type, int[] indices);
Exemple #14
0
 public static extern void Begin(GLPrimitiveType primitive);
Exemple #15
0
 public void DrawElements(GLPrimitiveType mode, int count, GLIndexType type, int offset)
 {
     TKGL.DrawElements((BeginMode)mode, count, (DrawElementsType)type, offset);
 }
Exemple #16
0
 public static void DrawArrays(GLPrimitiveType mode, int first, int count)
 {
     GL._gl.DrawArrays(mode, first, count);
 }
Exemple #17
0
 public static void DrawElements(GLPrimitiveType mode, int count, GLIndexType type, int offset)
 {
     GL._gl.DrawElements(mode, count, type, offset);
 }
Exemple #18
0
 public static extern void Begin(GLPrimitiveType primitive);
 public NewPrimitive(int elements, GLPrimitiveType type)
 {
     _elementCount = elements;
     _type         = type;
     _indices      = new UnsafeBuffer(_elementCount * 2); //ushort or uint?
 }
Exemple #20
0
 public static extern void DrawElements(GLPrimitiveType primitive, int count, uint type, int[] indices);
Exemple #21
0
 public static extern void glBegin(GLPrimitiveType mode);