C# Class OpenGL.GL

Bridge class to the openGL dll. Provides constants and function definitions.
显示文件 Open project: Esri/arcobjects-sdk-community-samples Class Usage Examples

Public Methods

Method Description
glCallLists ( int n, uint type, IntPtr lists ) : void
glColorPointer ( int size, uint type, int stride, IntPtr pointer ) : void
glDrawElements ( uint mode, int count, uint type, IntPtr indices ) : void
glDrawPixels ( int width, int height, uint format, uint type, IntPtr pixels ) : void
glEdgeFlagPointer ( int stride, IntPtr pointer ) : void
glGetPointerv ( uint pname, IntPtr paramsx ) : void
glGetTexImage ( uint target, int level, uint format, uint type, IntPtr pixels ) : void
glIndexPointer ( uint type, int stride, IntPtr pointer ) : void
glInterleavedArrays ( uint format, int stride, IntPtr pointer ) : void
glNormalPointer ( uint type, int stride, IntPtr pointer ) : void
glReadPixels ( int x, int y, int width, int height, uint format, uint type, IntPtr pixels ) : void
glTexCoordPointer ( int size, uint type, int stride, IntPtr pointer ) : void
glTexImage1D ( uint target, int level, int internalformat, int width, int border, uint format, uint type, IntPtr pixels ) : void
glTexImage2D ( uint target, int level, int internalformat, int width, int height, int border, uint format, uint type, IntPtr pixels ) : void
glTexSubImage1D ( uint target, int level, int xoffset, int width, uint format, uint type, IntPtr pixels ) : void
glTexSubImage2D ( uint target, int level, int xoffset, int yoffset, int width, int height, uint format, uint type, IntPtr pixels ) : void
glVertexPointer ( int size, uint type, int stride, IntPtr pointer ) : void

Private Methods

Method Description
glAccum ( uint op, float valuex ) : void
glAlphaFunc ( uint func, float refx ) : void
glAreTexturesResident ( int n, uint textures, byte residences ) : byte
glArrayElement ( int i ) : void
glBegin ( uint mode ) : void
glBindTexture ( uint target, uint texture ) : void
glBitmap ( int width, int height, float xorig, float yorig, float xmove, float ymove, byte bitmap ) : void
glBlendFunc ( uint sfactor, uint dfactor ) : void
glCallList ( uint list ) : void
glCallLists ( int n, uint type, void lists ) : void
glClear ( uint mask ) : void
glClearAccum ( float red, float green, float blue, float alpha ) : void
glClearColor ( float red, float green, float blue, float alpha ) : void
glClearDepth ( double depth ) : void
glClearIndex ( float c ) : void
glClearStencil ( int s ) : void
glClipPlane ( uint plane, double equation ) : void
glColor3b ( sbyte red, sbyte green, sbyte blue ) : void
glColor3bv ( sbyte v ) : void
glColor3d ( double red, double green, double blue ) : void
glColor3dv ( double v ) : void
glColor3f ( float red, float green, float blue ) : void
glColor3fv ( float v ) : void
glColor3i ( int red, int green, int blue ) : void
glColor3iv ( int v ) : void
glColor3s ( short red, short green, short blue ) : void
glColor3sv ( short v ) : void
glColor3ub ( byte red, byte green, byte blue ) : void
glColor3ubv ( byte v ) : void
glColor3ui ( uint red, uint green, uint blue ) : void
glColor3uiv ( uint v ) : void
glColor3us ( ushort red, ushort green, ushort blue ) : void
glColor3usv ( ushort v ) : void
glColor4b ( sbyte red, sbyte green, sbyte blue, sbyte alpha ) : void
glColor4bv ( sbyte v ) : void
glColor4d ( double red, double green, double blue, double alpha ) : void
glColor4dv ( double v ) : void
glColor4f ( float red, float green, float blue, float alpha ) : void
glColor4fv ( float v ) : void
glColor4i ( int red, int green, int blue, int alpha ) : void
glColor4iv ( int v ) : void
glColor4s ( short red, short green, short blue, short alpha ) : void
glColor4sv ( short v ) : void
glColor4ub ( byte red, byte green, byte blue, byte alpha ) : void
glColor4ubv ( byte v ) : void
glColor4ui ( uint red, uint green, uint blue, uint alpha ) : void
glColor4uiv ( uint v ) : void
glColor4us ( ushort red, ushort green, ushort blue, ushort alpha ) : void
glColor4usv ( ushort v ) : void
glColorMask ( byte red, byte green, byte blue, byte alpha ) : void
glColorMaterial ( uint face, uint mode ) : void
glColorPointer ( int size, uint type, int stride, void pointer ) : void
glCopyPixels ( int x, int y, int width, int height, uint type ) : void
glCopyTexImage1D ( uint target, int level, uint internalFormat, int x, int y, int width, int border ) : void
glCopyTexImage2D ( uint target, int level, uint internalFormat, int x, int y, int width, int height, int border ) : void
glCopyTexSubImage1D ( uint target, int level, int xoffset, int x, int y, int width ) : void
glCopyTexSubImage2D ( uint target, int level, int xoffset, int yoffset, int x, int y, int width, int height ) : void
glCullFace ( uint mode ) : void
glDeleteLists ( uint list, int range ) : void
glDeleteTextures ( int n, uint textures ) : void
glDepthFunc ( uint func ) : void
glDepthMask ( byte flag ) : void
glDepthRange ( double zNear, double zFar ) : void
glDisable ( uint cap ) : void
glDisableClientState ( uint array ) : void
glDrawArrays ( uint mode, int first, int count ) : void
glDrawBuffer ( uint mode ) : void
glDrawElements ( uint mode, int count, uint type, void indices ) : void
glDrawPixels ( int width, int height, uint format, uint type, void pixels ) : void
glEdgeFlag ( byte flag ) : void
glEdgeFlagPointer ( int stride, void pointer ) : void
glEdgeFlagv ( byte flag ) : void
glEnable ( uint cap ) : void
glEnableClientState ( uint array ) : void
glEnd ( ) : void
glEndList ( ) : void
glEvalCoord1d ( double u ) : void
glEvalCoord1dv ( double u ) : void
glEvalCoord1f ( float u ) : void
glEvalCoord1fv ( float u ) : void
glEvalCoord2d ( double u, double v ) : void
glEvalCoord2dv ( double u ) : void
glEvalCoord2f ( float u, float v ) : void
glEvalCoord2fv ( float u ) : void
glEvalMesh1 ( uint mode, int i1, int i2 ) : void
glEvalMesh2 ( uint mode, int i1, int i2, int j1, int j2 ) : void
glEvalPoint1 ( int i ) : void
glEvalPoint2 ( int i, int j ) : void
glFeedbackBuffer ( int size, uint type, float buffer ) : void
glFinish ( ) : void
glFlush ( ) : void
glFogf ( uint pname, float param ) : void
glFogfv ( uint pname, float paramsx ) : void
glFogi ( uint pname, int param ) : void
glFogiv ( uint pname, int paramsx ) : void
glFrontFace ( uint mode ) : void
glFrustum ( double left, double right, double bottom, double top, double zNear, double zFar ) : void
glGenLists ( int range ) : uint
glGenTextures ( int n, uint textures ) : void
glGetBooleanv ( uint pname, byte paramsx ) : void
glGetClipPlane ( uint plane, double equation ) : void
glGetDoublev ( uint pname, double paramsx ) : void
glGetError ( ) : uint
glGetFloatv ( uint pname, float paramsx ) : void
glGetIntegerv ( uint pname, int paramsx ) : void
glGetLightfv ( uint light, uint pname, float paramsx ) : void
glGetLightiv ( uint light, uint pname, int paramsx ) : void
glGetMapdv ( uint target, uint query, double v ) : void
glGetMapfv ( uint target, uint query, float v ) : void
glGetMapiv ( uint target, uint query, int v ) : void
glGetMaterialfv ( uint face, uint pname, float paramsx ) : void
glGetMaterialiv ( uint face, uint pname, int paramsx ) : void
glGetPixelMapfv ( uint map, float values ) : void
glGetPixelMapuiv ( uint map, uint values ) : void
glGetPixelMapusv ( uint map, ushort values ) : void
glGetPointerv ( uint pname, void paramsx ) : void
glGetPolygonStipple ( byte mask ) : void
glGetString ( uint name ) : byte*
glGetTexEnvfv ( uint target, uint pname, float paramsx ) : void
glGetTexEnviv ( uint target, uint pname, int paramsx ) : void
glGetTexGendv ( uint coord, uint pname, double paramsx ) : void
glGetTexGenfv ( uint coord, uint pname, float paramsx ) : void
glGetTexGeniv ( uint coord, uint pname, int paramsx ) : void
glGetTexImage ( uint target, int level, uint format, uint type, void pixels ) : void
glGetTexLevelParameterfv ( uint target, int level, uint pname, float paramsx ) : void
glGetTexLevelParameteriv ( uint target, int level, uint pname, int paramsx ) : void
glGetTexParameterfv ( uint target, uint pname, float paramsx ) : void
glGetTexParameteriv ( uint target, uint pname, int paramsx ) : void
glHint ( uint target, uint mode ) : void
glIndexMask ( uint mask ) : void
glIndexPointer ( uint type, int stride, void pointer ) : void
glIndexd ( double c ) : void
glIndexdv ( double c ) : void
glIndexf ( float c ) : void
glIndexfv ( float c ) : void
glIndexi ( int c ) : void
glIndexiv ( int c ) : void
glIndexs ( short c ) : void
glIndexsv ( short c ) : void
glIndexub ( byte c ) : void
glIndexubv ( byte c ) : void
glInitNames ( ) : void
glInterleavedArrays ( uint format, int stride, void pointer ) : void
glIsEnabled ( uint cap ) : byte
glIsList ( uint list ) : byte
glIsTexture ( uint texture ) : byte
glLightModelf ( uint pname, float param ) : void
glLightModelfv ( uint pname, float paramsx ) : void
glLightModeli ( uint pname, int param ) : void
glLightModeliv ( uint pname, int paramsx ) : void
glLightf ( uint light, uint pname, float param ) : void
glLightfv ( uint light, uint pname, float paramsx ) : void
glLighti ( uint light, uint pname, int param ) : void
glLightiv ( uint light, uint pname, int paramsx ) : void
glLineStipple ( int factor, ushort pattern ) : void
glLineWidth ( float width ) : void
glListBase ( uint basex ) : void
glLoadIdentity ( ) : void
glLoadMatrixd ( double m ) : void
glLoadMatrixf ( float m ) : void
glLoadName ( uint name ) : void
glLogicOp ( uint opcode ) : void
glMap1d ( uint target, double u1, double u2, int stride, int order, double points ) : void
glMap1f ( uint target, float u1, float u2, int stride, int order, float points ) : void
glMap2d ( uint target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, double points ) : void
glMap2f ( uint target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, float points ) : void
glMapGrid1d ( int un, double u1, double u2 ) : void
glMapGrid1f ( int un, float u1, float u2 ) : void
glMapGrid2d ( int un, double u1, double u2, int vn, double v1, double v2 ) : void
glMapGrid2f ( int un, float u1, float u2, int vn, float v1, float v2 ) : void
glMaterialf ( uint face, uint pname, float param ) : void
glMaterialfv ( uint face, uint pname, float paramsx ) : void
glMateriali ( uint face, uint pname, int param ) : void
glMaterialiv ( uint face, uint pname, int paramsx ) : void
glMatrixMode ( uint mode ) : void
glMultMatrixd ( double m ) : void
glMultMatrixf ( float m ) : void
glNewList ( uint list, uint mode ) : void
glNormal3b ( sbyte nx, sbyte ny, sbyte nz ) : void
glNormal3bv ( sbyte v ) : void
glNormal3d ( double nx, double ny, double nz ) : void
glNormal3dv ( double v ) : void
glNormal3f ( float nx, float ny, float nz ) : void
glNormal3fv ( float v ) : void
glNormal3i ( int nx, int ny, int nz ) : void
glNormal3iv ( int v ) : void
glNormal3s ( short nx, short ny, short nz ) : void
glNormal3sv ( short v ) : void
glNormalPointer ( uint type, int stride, void pointer ) : void
glOrtho ( double left, double right, double bottom, double top, double zNear, double zFar ) : void
glPassThrough ( float token ) : void
glPixelMapfv ( uint map, int mapsize, float values ) : void
glPixelMapuiv ( uint map, int mapsize, uint values ) : void
glPixelMapusv ( uint map, int mapsize, ushort values ) : void
glPixelStoref ( uint pname, float param ) : void
glPixelStorei ( uint pname, int param ) : void
glPixelTransferf ( uint pname, float param ) : void
glPixelTransferi ( uint pname, int param ) : void
glPixelZoom ( float xfactor, float yfactor ) : void
glPointSize ( float size ) : void
glPolygonMode ( uint face, uint mode ) : void
glPolygonOffset ( float factor, float units ) : void
glPolygonStipple ( byte mask ) : void
glPopAttrib ( ) : void
glPopClientAttrib ( ) : void
glPopMatrix ( ) : void
glPopName ( ) : void
glPrioritizeTextures ( int n, uint textures, float priorities ) : void
glPushAttrib ( uint mask ) : void
glPushClientAttrib ( uint mask ) : void
glPushMatrix ( ) : void
glPushName ( uint name ) : void
glRasterPos2d ( double x, double y ) : void
glRasterPos2dv ( double v ) : void
glRasterPos2f ( float x, float y ) : void
glRasterPos2fv ( float v ) : void
glRasterPos2i ( int x, int y ) : void
glRasterPos2iv ( int v ) : void
glRasterPos2s ( short x, short y ) : void
glRasterPos2sv ( short v ) : void
glRasterPos3d ( double x, double y, double z ) : void
glRasterPos3dv ( double v ) : void
glRasterPos3f ( float x, float y, float z ) : void
glRasterPos3fv ( float v ) : void
glRasterPos3i ( int x, int y, int z ) : void
glRasterPos3iv ( int v ) : void
glRasterPos3s ( short x, short y, short z ) : void
glRasterPos3sv ( short v ) : void
glRasterPos4d ( double x, double y, double z, double w ) : void
glRasterPos4dv ( double v ) : void
glRasterPos4f ( float x, float y, float z, float w ) : void
glRasterPos4fv ( float v ) : void
glRasterPos4i ( int x, int y, int z, int w ) : void
glRasterPos4iv ( int v ) : void
glRasterPos4s ( short x, short y, short z, short w ) : void
glRasterPos4sv ( short v ) : void
glReadBuffer ( uint mode ) : void
glReadPixels ( int x, int y, int width, int height, uint format, uint type, void pixels ) : void
glRectd ( double x1, double y1, double x2, double y2 ) : void
glRectdv ( double v1, double v2 ) : void
glRectf ( float x1, float y1, float x2, float y2 ) : void
glRectfv ( float v1, float v2 ) : void
glRecti ( int x1, int y1, int x2, int y2 ) : void
glRectiv ( int v1, int v2 ) : void
glRects ( short x1, short y1, short x2, short y2 ) : void
glRectsv ( short v1, short v2 ) : void
glRenderMode ( uint mode ) : int
glRotated ( double angle, double x, double y, double z ) : void
glRotatef ( float angle, float x, float y, float z ) : void
glScaled ( double x, double y, double z ) : void
glScalef ( float x, float y, float z ) : void
glScissor ( int x, int y, int width, int height ) : void
glSelectBuffer ( int size, uint buffer ) : void
glShadeModel ( uint mode ) : void
glStencilFunc ( uint func, int refx, uint mask ) : void
glStencilMask ( uint mask ) : void
glStencilOp ( uint fail, uint zfail, uint zpass ) : void
glTexCoord1d ( double s ) : void
glTexCoord1dv ( double v ) : void
glTexCoord1f ( float s ) : void
glTexCoord1fv ( float v ) : void
glTexCoord1i ( int s ) : void
glTexCoord1iv ( int v ) : void
glTexCoord1s ( short s ) : void
glTexCoord1sv ( short v ) : void
glTexCoord2d ( double s, double t ) : void
glTexCoord2dv ( double v ) : void
glTexCoord2f ( float s, float t ) : void
glTexCoord2fv ( float v ) : void
glTexCoord2i ( int s, int t ) : void
glTexCoord2iv ( int v ) : void
glTexCoord2s ( short s, short t ) : void
glTexCoord2sv ( short v ) : void
glTexCoord3d ( double s, double t, double r ) : void
glTexCoord3dv ( double v ) : void
glTexCoord3f ( float s, float t, float r ) : void
glTexCoord3fv ( float v ) : void
glTexCoord3i ( int s, int t, int r ) : void
glTexCoord3iv ( int v ) : void
glTexCoord3s ( short s, short t, short r ) : void
glTexCoord3sv ( short v ) : void
glTexCoord4d ( double s, double t, double r, double q ) : void
glTexCoord4dv ( double v ) : void
glTexCoord4f ( float s, float t, float r, float q ) : void
glTexCoord4fv ( float v ) : void
glTexCoord4i ( int s, int t, int r, int q ) : void
glTexCoord4iv ( int v ) : void
glTexCoord4s ( short s, short t, short r, short q ) : void
glTexCoord4sv ( short v ) : void
glTexCoordPointer ( int size, uint type, int stride, void pointer ) : void
glTexEnvf ( uint target, uint pname, float param ) : void
glTexEnvfv ( uint target, uint pname, float paramsx ) : void
glTexEnvi ( uint target, uint pname, int param ) : void
glTexEnviv ( uint target, uint pname, int paramsx ) : void
glTexGend ( uint coord, uint pname, double param ) : void
glTexGendv ( uint coord, uint pname, double paramsx ) : void
glTexGenf ( uint coord, uint pname, float param ) : void
glTexGenfv ( uint coord, uint pname, float paramsx ) : void
glTexGeni ( uint coord, uint pname, int param ) : void
glTexGeniv ( uint coord, uint pname, int paramsx ) : void
glTexImage1D ( uint target, int level, int internalformat, int width, int border, uint format, uint type, void pixels ) : void
glTexImage2D ( uint target, int level, int internalformat, int width, int height, int border, uint format, uint type, void pixels ) : void
glTexParameterf ( uint target, uint pname, float param ) : void
glTexParameterfv ( uint target, uint pname, float paramsx ) : void
glTexParameteri ( uint target, uint pname, int param ) : void
glTexParameteriv ( uint target, uint pname, int paramsx ) : void
glTexSubImage1D ( uint target, int level, int xoffset, int width, uint format, uint type, void pixels ) : void
glTexSubImage2D ( uint target, int level, int xoffset, int yoffset, int width, int height, uint format, uint type, void pixels ) : void
glTranslated ( double x, double y, double z ) : void
glTranslatef ( float x, float y, float z ) : void
glVertex2d ( double x, double y ) : void
glVertex2dv ( double v ) : void
glVertex2f ( float x, float y ) : void
glVertex2fv ( float v ) : void
glVertex2i ( int x, int y ) : void
glVertex2iv ( int v ) : void
glVertex2s ( short x, short y ) : void
glVertex2sv ( short v ) : void
glVertex3d ( double x, double y, double z ) : void
glVertex3dv ( double v ) : void
glVertex3f ( float x, float y, float z ) : void
glVertex3fv ( float v ) : void
glVertex3i ( int x, int y, int z ) : void
glVertex3iv ( int v ) : void
glVertex3s ( short x, short y, short z ) : void
glVertex3sv ( short v ) : void
glVertex4d ( double x, double y, double z, double w ) : void
glVertex4dv ( double v ) : void
glVertex4f ( float x, float y, float z, float w ) : void
glVertex4fv ( float v ) : void
glVertex4i ( int x, int y, int z, int w ) : void
glVertex4iv ( int v ) : void
glVertex4s ( short x, short y, short z, short w ) : void
glVertex4sv ( short v ) : void
glVertexPointer ( int size, uint type, int stride, void pointer ) : void
glViewport ( int x, int y, int width, int height ) : void

Method Details

glCallLists() public static method

public static glCallLists ( int n, uint type, IntPtr lists ) : void
n int
type uint
lists IntPtr
return void

glColorPointer() public static method

public static glColorPointer ( int size, uint type, int stride, IntPtr pointer ) : void
size int
type uint
stride int
pointer IntPtr
return void

glDrawElements() public static method

public static glDrawElements ( uint mode, int count, uint type, IntPtr indices ) : void
mode uint
count int
type uint
indices IntPtr
return void

glDrawPixels() public static method

public static glDrawPixels ( int width, int height, uint format, uint type, IntPtr pixels ) : void
width int
height int
format uint
type uint
pixels IntPtr
return void

glEdgeFlagPointer() public static method

public static glEdgeFlagPointer ( int stride, IntPtr pointer ) : void
stride int
pointer IntPtr
return void

glGetPointerv() public static method

public static glGetPointerv ( uint pname, IntPtr paramsx ) : void
pname uint
paramsx IntPtr
return void

glGetTexImage() public static method

public static glGetTexImage ( uint target, int level, uint format, uint type, IntPtr pixels ) : void
target uint
level int
format uint
type uint
pixels IntPtr
return void

glIndexPointer() public static method

public static glIndexPointer ( uint type, int stride, IntPtr pointer ) : void
type uint
stride int
pointer IntPtr
return void

glInterleavedArrays() public static method

public static glInterleavedArrays ( uint format, int stride, IntPtr pointer ) : void
format uint
stride int
pointer IntPtr
return void

glNormalPointer() public static method

public static glNormalPointer ( uint type, int stride, IntPtr pointer ) : void
type uint
stride int
pointer IntPtr
return void

glReadPixels() public static method

public static glReadPixels ( int x, int y, int width, int height, uint format, uint type, IntPtr pixels ) : void
x int
y int
width int
height int
format uint
type uint
pixels IntPtr
return void

glTexCoordPointer() public static method

public static glTexCoordPointer ( int size, uint type, int stride, IntPtr pointer ) : void
size int
type uint
stride int
pointer IntPtr
return void

glTexImage1D() public static method

public static glTexImage1D ( uint target, int level, int internalformat, int width, int border, uint format, uint type, IntPtr pixels ) : void
target uint
level int
internalformat int
width int
border int
format uint
type uint
pixels IntPtr
return void

glTexImage2D() public static method

public static glTexImage2D ( uint target, int level, int internalformat, int width, int height, int border, uint format, uint type, IntPtr pixels ) : void
target uint
level int
internalformat int
width int
height int
border int
format uint
type uint
pixels IntPtr
return void

glTexSubImage1D() public static method

public static glTexSubImage1D ( uint target, int level, int xoffset, int width, uint format, uint type, IntPtr pixels ) : void
target uint
level int
xoffset int
width int
format uint
type uint
pixels IntPtr
return void

glTexSubImage2D() public static method

public static glTexSubImage2D ( uint target, int level, int xoffset, int yoffset, int width, int height, uint format, uint type, IntPtr pixels ) : void
target uint
level int
xoffset int
yoffset int
width int
height int
format uint
type uint
pixels IntPtr
return void

glVertexPointer() public static method

public static glVertexPointer ( int size, uint type, int stride, IntPtr pointer ) : void
size int
type uint
stride int
pointer IntPtr
return void