コード例 #1
0
ファイル: GLDebugLayer.cs プロジェクト: yongaru/uno
 public void VertexAttribPointer(int index, int size, GLDataType type, bool normalized, int stride, int offset)
 {
     try
     {
         this.BeginFunc();
         this._gl.VertexAttribPointer(index, size, type, normalized, stride, offset);
     }
     finally
     {
         this.EndFunc();
     }
 }
コード例 #2
0
        public static PICAAttributeFormat ToPICAAttributeFormat(this GLDataType Format)
        {
            switch (Format)
            {
            case GLDataType.GL_BYTE: return(PICAAttributeFormat.Byte);

            case GLDataType.GL_UNSIGNED_BYTE: return(PICAAttributeFormat.Ubyte);

            case GLDataType.GL_SHORT: return(PICAAttributeFormat.Short);

            case GLDataType.GL_FLOAT: return(PICAAttributeFormat.Float);

            default: throw new ArgumentException($"Invalid format {Format}!");
            }
        }
コード例 #3
0
ファイル: GL.cs プロジェクト: mortend/uno
 public void VertexAttribPointer(int index, int size, GLDataType type, bool normalized, int stride, int offset)
 {
     TKGL.VertexAttribPointer(index, size, (VertexAttribPointerType)type, normalized, stride, offset);
 }
コード例 #4
0
 internal abstract void glVertexPointer(int size, GLDataType type, int stride, void *pointer);
コード例 #5
0
 internal abstract void glTexCoordPointer(int size, GLDataType type, int stride, void *pointer);
コード例 #6
0
 internal abstract void glNormalPointer(GLDataType type, int stride, void *pointer);
コード例 #7
0
 internal abstract void glColorPointer(int size, GLDataType type, int stride, void *pointer);
コード例 #8
0
ファイル: GL.cs プロジェクト: yongaru/uno
 public static void VertexAttribPointer(int index, int size, GLDataType type, bool normalized, int stride, int offset)
 {
     GL._gl.VertexAttribPointer(index, size, type, normalized, stride, offset);
 }
コード例 #9
0
ファイル: DummyGL.cs プロジェクト: mortend/uno
 public void VertexAttribPointer(int index, int size, GLDataType type, bool normalized, int stride, int offset)
 {
 }
コード例 #10
0
ファイル: wGL.cs プロジェクト: soopercool101/brawltools1
 public static extern void glNormalPointer(GLDataType type, int stride, void *pointer);
コード例 #11
0
ファイル: wGL.cs プロジェクト: soopercool101/brawltools1
 public static extern void glColorPointer(int size, GLDataType type, int stride, void *pointer);
コード例 #12
0
ファイル: wGL.cs プロジェクト: soopercool101/brawltools1
 public static extern void glTexCoordPointer(int size, GLDataType type, int stride, void *pointer);