コード例 #1
0
ファイル: GLDebugLayer.cs プロジェクト: yongaru/uno
 public void DrawArrays(GLPrimitiveType mode, int first, int count)
 {
     try
     {
         this.BeginFunc();
         this._gl.DrawArrays(mode, first, count);
     }
     finally
     {
         this.EndFunc();
     }
 }
コード例 #2
0
ファイル: GLDebugLayer.cs プロジェクト: yongaru/uno
 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
ファイル: wGL.cs プロジェクト: soopercool101/brawltools1
 public static extern void glDrawElements(GLPrimitiveType mode, int count, GLElementType type, void *indices);
コード例 #8
0
ファイル: GL.cs プロジェクト: victorkendy/PandorasBox2
 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
ファイル: GL.cs プロジェクト: victorkendy/PandorasBox2
 public static extern void Begin(GLPrimitiveType primitive);
コード例 #19
0
 public NewPrimitive(int elements, GLPrimitiveType type)
 {
     _elementCount = elements;
     _type         = type;
     _indices      = new UnsafeBuffer(_elementCount * 2); //ushort or uint?
 }
コード例 #20
0
ファイル: GL.cs プロジェクト: victorkendy/PandorasBox2
 public static extern void DrawElements(GLPrimitiveType primitive, int count, uint type, int[] indices);
コード例 #21
0
ファイル: wGL.cs プロジェクト: soopercool101/brawltools1
 public static extern void glBegin(GLPrimitiveType mode);