示例#1
0
 public void DrawArrays(GLPrimitiveType mode, int first, int count)
 {
     try
     {
         this.BeginFunc();
         this._gl.DrawArrays(mode, first, count);
     }
     finally
     {
         this.EndFunc();
     }
 }
示例#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();
     }
 }
示例#3
0
文件: GL.cs 项目: mortend/uno
 public void DrawArrays(GLPrimitiveType mode, int first, int count)
 {
     TKGL.DrawArrays((PrimitiveType)mode, first, count);
 }
示例#4
0
 internal abstract void glDrawElements(GLPrimitiveType mode, int count, GLElementType type, void *indices);
示例#5
0
 internal abstract void glDrawArrays(GLPrimitiveType mode, int first, int count);
示例#6
0
 internal abstract void glBegin(GLPrimitiveType mode);
示例#7
0
 public static extern void glDrawElements(GLPrimitiveType mode, int count, GLElementType type, void *indices);
示例#8
0
 public static extern void DrawArrays(GLPrimitiveType primitive, int first, int count);
示例#9
0
 public void DrawArrays(GLPrimitiveType mode, int first, int count)
 {
     MacGL.DrawArrays((BeginMode)mode, first, count);
 }
示例#10
0
文件: DummyGL.cs 项目: mortend/uno
 public void DrawElements(GLPrimitiveType mode, int count, GLIndexType type, int offset)
 {
 }
示例#11
0
文件: DummyGL.cs 项目: mortend/uno
 public void DrawArrays(GLPrimitiveType mode, int first, int count)
 {
 }
示例#12
0
 public static extern void DrawArrays(GLPrimitiveType primitive, int first, int count);
示例#13
0
 public static extern void DrawElements(GLPrimitiveType primitive, int count, uint type, int[] indices);
示例#14
0
 public static extern void Begin(GLPrimitiveType primitive);
示例#15
0
文件: GL.cs 项目: mortend/uno
 public void DrawElements(GLPrimitiveType mode, int count, GLIndexType type, int offset)
 {
     TKGL.DrawElements((BeginMode)mode, count, (DrawElementsType)type, offset);
 }
示例#16
0
文件: GL.cs 项目: yongaru/uno
 public static void DrawArrays(GLPrimitiveType mode, int first, int count)
 {
     GL._gl.DrawArrays(mode, first, count);
 }
示例#17
0
文件: GL.cs 项目: yongaru/uno
 public static void DrawElements(GLPrimitiveType mode, int count, GLIndexType type, int offset)
 {
     GL._gl.DrawElements(mode, count, type, offset);
 }
示例#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?
 }
示例#20
0
 public static extern void DrawElements(GLPrimitiveType primitive, int count, uint type, int[] indices);
示例#21
0
 public static extern void glBegin(GLPrimitiveType mode);