예제 #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
 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);
예제 #19
0
 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);