Class GL
Provides access to OpenGL ES 1.0 methods.
Inherited Members
Namespace: OpenTK.Graphics.ES10
Assembly: OpenTK.dll
Syntax
public sealed class GL
Methods
ActiveTexture(All)
[requires: v1.0 and 1.0] Select active texture unit
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glActiveTexture")]
public static void ActiveTexture(All texture)
Parameters
Type | Name | Description |
---|---|---|
All | texture | Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0. |
AlphaFunc(All, Single)
[requires: v1.0 and 1.0] Specify the alpha test function
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glAlphaFunc")]
public static void AlphaFunc(All func, float ref)
Parameters
Type | Name | Description |
---|---|---|
All | func | Specifies the alpha comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_ALWAYS. |
Single | ref | Specifies the reference value that incoming alpha values are compared to. This value is clamped to the range [0,1], where 0 represents the lowest possible alpha value and 1 the highest possible value. The initial reference value is 0. |
AlphaFuncx(All, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glAlphaFuncx")]
public static void AlphaFuncx(All func, int ref)
Parameters
Type | Name | Description |
---|---|---|
All | func | |
Int32 | ref |
BindTexture(All, Int32)
[requires: v1.0 and 1.0] Bind a named texture to a texturing target
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glBindTexture")]
public static void BindTexture(All target, int texture)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY. |
Int32 | texture | Specifies the name of a texture. |
BindTexture(All, UInt32)
[requires: v1.0 and 1.0] Bind a named texture to a texturing target
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glBindTexture")]
public static void BindTexture(All target, uint texture)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY. |
UInt32 | texture | Specifies the name of a texture. |
BlendFunc(All, All)
[requires: v1.0 and 1.0] Specify pixel arithmetic
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glBlendFunc")]
public static void BlendFunc(All sfactor, All dfactor)
Parameters
Type | Name | Description |
---|---|---|
All | sfactor | Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE. |
All | dfactor | Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. |
Clear(Int32)
[requires: v1.0 and 1.0] Clear buffers to preset values
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClear")]
public static void Clear(int mask)
Parameters
Type | Name | Description |
---|---|---|
Int32 | mask | Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT. |
Clear(UInt32)
[requires: v1.0 and 1.0] Clear buffers to preset values
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClear")]
public static void Clear(uint mask)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | mask | Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT. |
ClearColor(Single, Single, Single, Single)
[requires: v1.0 and 1.0] Specify clear values for the color buffers
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearColor")]
public static void ClearColor(float red, float green, float blue, float alpha)
Parameters
Type | Name | Description |
---|---|---|
Single | red | Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0. |
Single | green | |
Single | blue | |
Single | alpha |
ClearColorx(Int32, Int32, Int32, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearColorx")]
public static void ClearColorx(int red, int green, int blue, int alpha)
Parameters
Type | Name | Description |
---|---|---|
Int32 | red | |
Int32 | green | |
Int32 | blue | |
Int32 | alpha |
ClearDepth(Single)
[requires: v1.0 and 1.0] Specify the clear value for the depth buffer
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearDepthf")]
public static void ClearDepth(float depth)
Parameters
Type | Name | Description |
---|---|---|
Single | depth | Specifies the depth value used when the depth buffer is cleared. The initial value is 1. |
ClearDepthx(Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearDepthx")]
public static void ClearDepthx(int depth)
Parameters
Type | Name | Description |
---|---|---|
Int32 | depth |
ClearStencil(Int32)
[requires: v1.0 and 1.0] Specify the clear value for the stencil buffer
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearStencil")]
public static void ClearStencil(int s)
Parameters
Type | Name | Description |
---|---|---|
Int32 | s | Specifies the index used when the stencil buffer is cleared. The initial value is 0. |
ClientActiveTexture(All)
[requires: v1.0 and 1.0] Select active texture unit
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClientActiveTexture")]
public static void ClientActiveTexture(All texture)
Parameters
Type | Name | Description |
---|---|---|
All | texture | Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the value of GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. The initial value is GL_TEXTURE0. |
Color4(Single, Single, Single, Single)
[requires: v1.0 and 1.0] Set the current color
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColor4f")]
public static void Color4(float red, float green, float blue, float alpha)
Parameters
Type | Name | Description |
---|---|---|
Single | red | Specify new red, green, and blue values for the current color. |
Single | green | |
Single | blue | |
Single | alpha | Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. |
Color4x(Int32, Int32, Int32, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColor4x")]
public static void Color4x(int red, int green, int blue, int alpha)
Parameters
Type | Name | Description |
---|---|---|
Int32 | red | |
Int32 | green | |
Int32 | blue | |
Int32 | alpha |
ColorMask(Boolean, Boolean, Boolean, Boolean)
[requires: v1.0 and 1.0] Enable and disable writing of frame buffer color components
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorMask")]
public static void ColorMask(bool red, bool green, bool blue, bool alpha)
Parameters
Type | Name | Description |
---|---|---|
Boolean | red | Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. |
Boolean | green | |
Boolean | blue | |
Boolean | alpha |
ColorPointer(Int32, All, Int32, IntPtr)
[requires: v1.0 and 1.0] Define an array of colors
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")]
public static void ColorPointer(int size, All type, int stride, IntPtr pointer)
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of components per color. Must be 3 or 4. The initial value is 4. |
All | type | Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. |
IntPtr | pointer | Specifies a pointer to the first component of the first color element in the array. The initial value is 0. |
ColorPointer<T3>(Int32, All, Int32, ref T3)
[requires: v1.0 and 1.0] Define an array of colors
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")]
public static void ColorPointer<T3>(int size, All type, int stride, ref T3 pointer)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of components per color. Must be 3 or 4. The initial value is 4. |
All | type | Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. |
T3 | pointer | Specifies a pointer to the first component of the first color element in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T3 |
ColorPointer<T3>(Int32, All, Int32, T3[])
[requires: v1.0 and 1.0] Define an array of colors
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")]
public static void ColorPointer<T3>(int size, All type, int stride, T3[] pointer)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of components per color. Must be 3 or 4. The initial value is 4. |
All | type | Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. |
T3[] | pointer | Specifies a pointer to the first component of the first color element in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T3 |
ColorPointer<T3>(Int32, All, Int32, T3[,,])
[requires: v1.0 and 1.0] Define an array of colors
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")]
public static void ColorPointer<T3>(int size, All type, int stride, T3[,, ] pointer)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of components per color. Must be 3 or 4. The initial value is 4. |
All | type | Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. |
T3[,,] | pointer | Specifies a pointer to the first component of the first color element in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T3 |
ColorPointer<T3>(Int32, All, Int32, T3[,])
[requires: v1.0 and 1.0] Define an array of colors
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")]
public static void ColorPointer<T3>(int size, All type, int stride, T3[, ] pointer)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of components per color. Must be 3 or 4. The initial value is 4. |
All | type | Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. |
T3[,] | pointer | Specifies a pointer to the first component of the first color element in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T3 |
CompressedTexImage2D(All, Int32, All, Int32, Int32, Int32, Int32, IntPtr)
[requires: v1.0 and 1.0] Specify a two-dimensional texture image in a compressed format
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
public static void CompressedTexImage2D(All target, int level, All internalformat, int width, int height, int border, int imageSize, IntPtr data)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
All | internalformat | Specifies the format of the compressed image data stored at address data. |
Int32 | width | Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. |
Int32 | height | Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. |
Int32 | border | This value must be 0. |
Int32 | imageSize | Specifies the number of unsigned bytes of image data starting at the address specified by data. |
IntPtr | data | Specifies a pointer to the compressed image data in memory. |
CompressedTexImage2D<T7>(All, Int32, All, Int32, Int32, Int32, Int32, ref T7)
[requires: v1.0 and 1.0] Specify a two-dimensional texture image in a compressed format
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
public static void CompressedTexImage2D<T7>(All target, int level, All internalformat, int width, int height, int border, int imageSize, ref T7 data)
where T7 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
All | internalformat | Specifies the format of the compressed image data stored at address data. |
Int32 | width | Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. |
Int32 | height | Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. |
Int32 | border | This value must be 0. |
Int32 | imageSize | Specifies the number of unsigned bytes of image data starting at the address specified by data. |
T7 | data | Specifies a pointer to the compressed image data in memory. |
Type Parameters
Name | Description |
---|---|
T7 |
CompressedTexImage2D<T7>(All, Int32, All, Int32, Int32, Int32, Int32, T7[])
[requires: v1.0 and 1.0] Specify a two-dimensional texture image in a compressed format
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
public static void CompressedTexImage2D<T7>(All target, int level, All internalformat, int width, int height, int border, int imageSize, T7[] data)
where T7 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
All | internalformat | Specifies the format of the compressed image data stored at address data. |
Int32 | width | Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. |
Int32 | height | Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. |
Int32 | border | This value must be 0. |
Int32 | imageSize | Specifies the number of unsigned bytes of image data starting at the address specified by data. |
T7[] | data | Specifies a pointer to the compressed image data in memory. |
Type Parameters
Name | Description |
---|---|
T7 |
CompressedTexImage2D<T7>(All, Int32, All, Int32, Int32, Int32, Int32, T7[,,])
[requires: v1.0 and 1.0] Specify a two-dimensional texture image in a compressed format
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
public static void CompressedTexImage2D<T7>(All target, int level, All internalformat, int width, int height, int border, int imageSize, T7[,, ] data)
where T7 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
All | internalformat | Specifies the format of the compressed image data stored at address data. |
Int32 | width | Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. |
Int32 | height | Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. |
Int32 | border | This value must be 0. |
Int32 | imageSize | Specifies the number of unsigned bytes of image data starting at the address specified by data. |
T7[,,] | data | Specifies a pointer to the compressed image data in memory. |
Type Parameters
Name | Description |
---|---|
T7 |
CompressedTexImage2D<T7>(All, Int32, All, Int32, Int32, Int32, Int32, T7[,])
[requires: v1.0 and 1.0] Specify a two-dimensional texture image in a compressed format
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
public static void CompressedTexImage2D<T7>(All target, int level, All internalformat, int width, int height, int border, int imageSize, T7[, ] data)
where T7 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
All | internalformat | Specifies the format of the compressed image data stored at address data. |
Int32 | width | Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. |
Int32 | height | Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. |
Int32 | border | This value must be 0. |
Int32 | imageSize | Specifies the number of unsigned bytes of image data starting at the address specified by data. |
T7[,] | data | Specifies a pointer to the compressed image data in memory. |
Type Parameters
Name | Description |
---|---|
T7 |
CompressedTexSubImage2D(All, Int32, Int32, Int32, Int32, Int32, All, Int32, IntPtr)
[requires: v1.0 and 1.0] Specify a two-dimensional texture subimage in a compressed format
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
public static void CompressedTexSubImage2D(All target, int level, int xoffset, int yoffset, int width, int height, All format, int imageSize, IntPtr data)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
Int32 | xoffset | Specifies a texel offset in the x direction within the texture array. |
Int32 | yoffset | Specifies a texel offset in the y direction within the texture array. |
Int32 | width | Specifies the width of the texture subimage. |
Int32 | height | Specifies the height of the texture subimage. |
All | format | Specifies the format of the compressed image data stored at address data. |
Int32 | imageSize | Specifies the number of unsigned bytes of image data starting at the address specified by data. |
IntPtr | data | Specifies a pointer to the compressed image data in memory. |
CompressedTexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, Int32, ref T8)
[requires: v1.0 and 1.0] Specify a two-dimensional texture subimage in a compressed format
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
public static void CompressedTexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, int imageSize, ref T8 data)
where T8 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
Int32 | xoffset | Specifies a texel offset in the x direction within the texture array. |
Int32 | yoffset | Specifies a texel offset in the y direction within the texture array. |
Int32 | width | Specifies the width of the texture subimage. |
Int32 | height | Specifies the height of the texture subimage. |
All | format | Specifies the format of the compressed image data stored at address data. |
Int32 | imageSize | Specifies the number of unsigned bytes of image data starting at the address specified by data. |
T8 | data | Specifies a pointer to the compressed image data in memory. |
Type Parameters
Name | Description |
---|---|
T8 |
CompressedTexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, Int32, T8[])
[requires: v1.0 and 1.0] Specify a two-dimensional texture subimage in a compressed format
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
public static void CompressedTexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, int imageSize, T8[] data)
where T8 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
Int32 | xoffset | Specifies a texel offset in the x direction within the texture array. |
Int32 | yoffset | Specifies a texel offset in the y direction within the texture array. |
Int32 | width | Specifies the width of the texture subimage. |
Int32 | height | Specifies the height of the texture subimage. |
All | format | Specifies the format of the compressed image data stored at address data. |
Int32 | imageSize | Specifies the number of unsigned bytes of image data starting at the address specified by data. |
T8[] | data | Specifies a pointer to the compressed image data in memory. |
Type Parameters
Name | Description |
---|---|
T8 |
CompressedTexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, Int32, T8[,,])
[requires: v1.0 and 1.0] Specify a two-dimensional texture subimage in a compressed format
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
public static void CompressedTexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, int imageSize, T8[,, ] data)
where T8 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
Int32 | xoffset | Specifies a texel offset in the x direction within the texture array. |
Int32 | yoffset | Specifies a texel offset in the y direction within the texture array. |
Int32 | width | Specifies the width of the texture subimage. |
Int32 | height | Specifies the height of the texture subimage. |
All | format | Specifies the format of the compressed image data stored at address data. |
Int32 | imageSize | Specifies the number of unsigned bytes of image data starting at the address specified by data. |
T8[,,] | data | Specifies a pointer to the compressed image data in memory. |
Type Parameters
Name | Description |
---|---|
T8 |
CompressedTexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, Int32, T8[,])
[requires: v1.0 and 1.0] Specify a two-dimensional texture subimage in a compressed format
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
public static void CompressedTexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, int imageSize, T8[, ] data)
where T8 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
Int32 | xoffset | Specifies a texel offset in the x direction within the texture array. |
Int32 | yoffset | Specifies a texel offset in the y direction within the texture array. |
Int32 | width | Specifies the width of the texture subimage. |
Int32 | height | Specifies the height of the texture subimage. |
All | format | Specifies the format of the compressed image data stored at address data. |
Int32 | imageSize | Specifies the number of unsigned bytes of image data starting at the address specified by data. |
T8[,] | data | Specifies a pointer to the compressed image data in memory. |
Type Parameters
Name | Description |
---|---|
T8 |
CopyTexImage2D(All, Int32, All, Int32, Int32, Int32, Int32, Int32)
[requires: v1.0 and 1.0] Copy pixels into a 2D texture image
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCopyTexImage2D")]
public static void CopyTexImage2D(All target, int level, All internalformat, int x, int y, int width, int height, int border)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
All | internalformat | Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA. GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA. GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_RED, GL_RG, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. |
Int32 | x | Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. |
Int32 | y | |
Int32 | width | Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . |
Int32 | height | Specifies the height of the texture image. Must be 0 or 2 sup m + 2 ( border ) for some integer . |
Int32 | border | Specifies the width of the border. Must be either 0 or 1. |
CopyTexSubImage2D(All, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
[requires: v1.0 and 1.0] Copy a two-dimensional texture subimage
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCopyTexSubImage2D")]
public static void CopyTexSubImage2D(All target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
Int32 | xoffset | Specifies a texel offset in the x direction within the texture array. |
Int32 | yoffset | Specifies a texel offset in the y direction within the texture array. |
Int32 | x | Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. |
Int32 | y | |
Int32 | width | Specifies the width of the texture subimage. |
Int32 | height | Specifies the height of the texture subimage. |
CullFace(All)
[requires: v1.0 and 1.0] Specify whether front- or back-facing facets can be culled
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCullFace")]
public static void CullFace(All mode)
Parameters
Type | Name | Description |
---|---|---|
All | mode | Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK. |
DeleteTextures(Int32, Int32*)
[requires: v1.0 and 1.0] Delete named textures
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
public static void DeleteTextures(int n, int *textures)
Parameters
Type | Name | Description |
---|---|---|
Int32 | n | Specifies the number of textures to be deleted. |
Int32* | textures | Specifies an array of textures to be deleted. |
DeleteTextures(Int32, ref Int32)
[requires: v1.0 and 1.0] Delete named textures
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
public static void DeleteTextures(int n, ref int textures)
Parameters
Type | Name | Description |
---|---|---|
Int32 | n | Specifies the number of textures to be deleted. |
Int32 | textures | Specifies an array of textures to be deleted. |
DeleteTextures(Int32, Int32[])
[requires: v1.0 and 1.0] Delete named textures
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
public static void DeleteTextures(int n, int[] textures)
Parameters
Type | Name | Description |
---|---|---|
Int32 | n | Specifies the number of textures to be deleted. |
Int32[] | textures | Specifies an array of textures to be deleted. |
DeleteTextures(Int32, UInt32*)
[requires: v1.0 and 1.0] Delete named textures
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
public static void DeleteTextures(int n, uint *textures)
Parameters
Type | Name | Description |
---|---|---|
Int32 | n | Specifies the number of textures to be deleted. |
UInt32* | textures | Specifies an array of textures to be deleted. |
DeleteTextures(Int32, ref UInt32)
[requires: v1.0 and 1.0] Delete named textures
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
public static void DeleteTextures(int n, ref uint textures)
Parameters
Type | Name | Description |
---|---|---|
Int32 | n | Specifies the number of textures to be deleted. |
UInt32 | textures | Specifies an array of textures to be deleted. |
DeleteTextures(Int32, UInt32[])
[requires: v1.0 and 1.0] Delete named textures
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
public static void DeleteTextures(int n, uint[] textures)
Parameters
Type | Name | Description |
---|---|---|
Int32 | n | Specifies the number of textures to be deleted. |
UInt32[] | textures | Specifies an array of textures to be deleted. |
DepthFunc(All)
[requires: v1.0 and 1.0] Specify the value used for depth buffer comparisons
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDepthFunc")]
public static void DepthFunc(All func)
Parameters
Type | Name | Description |
---|---|---|
All | func | Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS. |
DepthMask(Boolean)
[requires: v1.0 and 1.0] Enable or disable writing into the depth buffer
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDepthMask")]
public static void DepthMask(bool flag)
Parameters
Type | Name | Description |
---|---|---|
Boolean | flag | Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. |
DepthRange(Single, Single)
[requires: v1.0 and 1.0] Specify mapping of depth values from normalized device coordinates to window coordinates
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDepthRangef")]
public static void DepthRange(float zNear, float zFar)
Parameters
Type | Name | Description |
---|---|---|
Single | zNear | |
Single | zFar |
DepthRangex(Int32, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDepthRangex")]
public static void DepthRangex(int zNear, int zFar)
Parameters
Type | Name | Description |
---|---|---|
Int32 | zNear | |
Int32 | zFar |
Disable(All)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDisable")]
public static void Disable(All cap)
Parameters
Type | Name | Description |
---|---|---|
All | cap |
DisableClientState(All)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDisableClientState")]
public static void DisableClientState(All array)
Parameters
Type | Name | Description |
---|---|---|
All | array |
DrawArrays(All, Int32, Int32)
[requires: v1.0 and 1.0] Render primitives from array data
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawArrays")]
public static void DrawArrays(All mode, int first, int count)
Parameters
Type | Name | Description |
---|---|---|
All | mode | Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. |
Int32 | first | Specifies the starting index in the enabled arrays. |
Int32 | count | Specifies the number of indices to be rendered. |
DrawElements(All, Int32, All, IntPtr)
[requires: v1.0 and 1.0] Render primitives from array data
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")]
public static void DrawElements(All mode, int count, All type, IntPtr indices)
Parameters
Type | Name | Description |
---|---|---|
All | mode | Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. |
Int32 | count | Specifies the number of elements to be rendered. |
All | type | Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. |
IntPtr | indices | Specifies a pointer to the location where the indices are stored. |
DrawElements<T3>(All, Int32, All, ref T3)
[requires: v1.0 and 1.0] Render primitives from array data
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")]
public static void DrawElements<T3>(All mode, int count, All type, ref T3 indices)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
All | mode | Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. |
Int32 | count | Specifies the number of elements to be rendered. |
All | type | Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. |
T3 | indices | Specifies a pointer to the location where the indices are stored. |
Type Parameters
Name | Description |
---|---|
T3 |
DrawElements<T3>(All, Int32, All, T3[])
[requires: v1.0 and 1.0] Render primitives from array data
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")]
public static void DrawElements<T3>(All mode, int count, All type, T3[] indices)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
All | mode | Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. |
Int32 | count | Specifies the number of elements to be rendered. |
All | type | Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. |
T3[] | indices | Specifies a pointer to the location where the indices are stored. |
Type Parameters
Name | Description |
---|---|
T3 |
DrawElements<T3>(All, Int32, All, T3[,,])
[requires: v1.0 and 1.0] Render primitives from array data
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")]
public static void DrawElements<T3>(All mode, int count, All type, T3[,, ] indices)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
All | mode | Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. |
Int32 | count | Specifies the number of elements to be rendered. |
All | type | Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. |
T3[,,] | indices | Specifies a pointer to the location where the indices are stored. |
Type Parameters
Name | Description |
---|---|
T3 |
DrawElements<T3>(All, Int32, All, T3[,])
[requires: v1.0 and 1.0] Render primitives from array data
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")]
public static void DrawElements<T3>(All mode, int count, All type, T3[, ] indices)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
All | mode | Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. |
Int32 | count | Specifies the number of elements to be rendered. |
All | type | Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. |
T3[,] | indices | Specifies a pointer to the location where the indices are stored. |
Type Parameters
Name | Description |
---|---|
T3 |
Enable(All)
[requires: v1.0 and 1.0] Enable or disable server-side GL capabilities
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glEnable")]
public static void Enable(All cap)
Parameters
Type | Name | Description |
---|---|---|
All | cap | Specifies a symbolic constant indicating a GL capability. |
EnableClientState(All)
[requires: v1.0 and 1.0] Enable or disable client-side capability
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glEnableClientState")]
public static void EnableClientState(All array)
Parameters
Type | Name | Description |
---|---|---|
All | array |
Finish()
[requires: v1.0 and 1.0] Block until all GL execution is complete
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFinish")]
public static void Finish()
Flush()
[requires: v1.0 and 1.0] Force execution of GL commands in finite time
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFlush")]
public static void Flush()
Fog(All, Single)
[requires: v1.0 and 1.0] Specify fog parameters
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogf")]
public static void Fog(All pname, float param)
Parameters
Type | Name | Description |
---|---|---|
All | pname | Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. |
Single | param | Specifies the value that pname will be set to. |
Fog(All, Single*)
[requires: v1.0 and 1.0] Specify fog parameters
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogfv")]
public static void Fog(All pname, float *params)
Parameters
Type | Name | Description |
---|---|---|
All | pname | Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. |
Single* | params |
Fog(All, Single[])
[requires: v1.0 and 1.0] Specify fog parameters
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogfv")]
public static void Fog(All pname, float[] params)
Parameters
Type | Name | Description |
---|---|---|
All | pname | Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. |
Single[] | params |
Fogx(All, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogx")]
public static void Fogx(All pname, int param)
Parameters
Type | Name | Description |
---|---|---|
All | pname | |
Int32 | param |
Fogx(All, Int32*)
[requires: v1.0 and 1.0]
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogxv")]
public static void Fogx(All pname, int *params)
Parameters
Type | Name | Description |
---|---|---|
All | pname | |
Int32* | params |
Fogx(All, Int32[])
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogxv")]
public static void Fogx(All pname, int[] params)
Parameters
Type | Name | Description |
---|---|---|
All | pname | |
Int32[] | params |
FrontFace(All)
[requires: v1.0 and 1.0] Define front- and back-facing polygons
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFrontFace")]
public static void FrontFace(All mode)
Parameters
Type | Name | Description |
---|---|---|
All | mode | Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW. |
Frustum(Single, Single, Single, Single, Single, Single)
[requires: v1.0 and 1.0] Multiply the current matrix by a perspective matrix
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFrustumf")]
public static void Frustum(float left, float right, float bottom, float top, float zNear, float zFar)
Parameters
Type | Name | Description |
---|---|---|
Single | left | Specify the coordinates for the left and right vertical clipping planes. |
Single | right | |
Single | bottom | Specify the coordinates for the bottom and top horizontal clipping planes. |
Single | top | |
Single | zNear | |
Single | zFar |
Frustumx(Int32, Int32, Int32, Int32, Int32, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFrustumx")]
public static void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar)
Parameters
Type | Name | Description |
---|---|---|
Int32 | left | |
Int32 | right | |
Int32 | bottom | |
Int32 | top | |
Int32 | zNear | |
Int32 | zFar |
GenTextures(Int32, Int32*)
[requires: v1.0 and 1.0] Generate texture names
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
public static void GenTextures(int n, int *textures)
Parameters
Type | Name | Description |
---|---|---|
Int32 | n | Specifies the number of texture names to be generated. |
Int32* | textures | Specifies an array in which the generated texture names are stored. |
GenTextures(Int32, ref Int32)
[requires: v1.0 and 1.0] Generate texture names
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
public static void GenTextures(int n, ref int textures)
Parameters
Type | Name | Description |
---|---|---|
Int32 | n | Specifies the number of texture names to be generated. |
Int32 | textures | Specifies an array in which the generated texture names are stored. |
GenTextures(Int32, Int32[])
[requires: v1.0 and 1.0] Generate texture names
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
public static void GenTextures(int n, int[] textures)
Parameters
Type | Name | Description |
---|---|---|
Int32 | n | Specifies the number of texture names to be generated. |
Int32[] | textures | Specifies an array in which the generated texture names are stored. |
GenTextures(Int32, UInt32*)
[requires: v1.0 and 1.0] Generate texture names
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
public static void GenTextures(int n, uint *textures)
Parameters
Type | Name | Description |
---|---|---|
Int32 | n | Specifies the number of texture names to be generated. |
UInt32* | textures | Specifies an array in which the generated texture names are stored. |
GenTextures(Int32, ref UInt32)
[requires: v1.0 and 1.0] Generate texture names
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
public static void GenTextures(int n, ref uint textures)
Parameters
Type | Name | Description |
---|---|---|
Int32 | n | Specifies the number of texture names to be generated. |
UInt32 | textures | Specifies an array in which the generated texture names are stored. |
GenTextures(Int32, UInt32[])
[requires: v1.0 and 1.0] Generate texture names
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
public static void GenTextures(int n, uint[] textures)
Parameters
Type | Name | Description |
---|---|---|
Int32 | n | Specifies the number of texture names to be generated. |
UInt32[] | textures | Specifies an array in which the generated texture names are stored. |
GetError()
[requires: v1.0 and 1.0] Return error information
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetError")]
public static All GetError()
Returns
Type | Description |
---|---|
All |
GetInteger(All, Int32*)
[requires: v1.0 and 1.0]
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetIntegerv")]
public static void GetInteger(All pname, int *params)
Parameters
Type | Name | Description |
---|---|---|
All | pname | |
Int32* | params |
GetInteger(All, ref Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetIntegerv")]
public static void GetInteger(All pname, ref int params)
Parameters
Type | Name | Description |
---|---|---|
All | pname | |
Int32 | params |
GetInteger(All, Int32[])
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetIntegerv")]
public static void GetInteger(All pname, int[] params)
Parameters
Type | Name | Description |
---|---|---|
All | pname | |
Int32[] | params |
GetString(All)
[requires: v1.0 and 1.0] Return a string describing the current GL connection
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetString")]
public static string GetString(All name)
Parameters
Type | Name | Description |
---|---|---|
All | name | Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token. |
Returns
Type | Description |
---|---|
String |
Hint(All, All)
[requires: v1.0 and 1.0] Specify implementation-specific hints
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glHint")]
public static void Hint(All target, All mode)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies a symbolic constant indicating the behavior to be controlled. GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_TEXTURE_COMPRESSION_HINT, and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted. |
All | mode | Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted. |
Light(All, All, Single)
[requires: v1.0 and 1.0] Set light source parameters
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightf")]
public static void Light(All light, All pname, float param)
Parameters
Type | Name | Description |
---|---|---|
All | light | Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. |
All | pname | Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. |
Single | param | Specifies the value that parameter pname of light source light will be set to. |
Light(All, All, Single*)
[requires: v1.0 and 1.0] Set light source parameters
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightfv")]
public static void Light(All light, All pname, float *params)
Parameters
Type | Name | Description |
---|---|---|
All | light | Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. |
All | pname | Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. |
Single* | params |
Light(All, All, Single[])
[requires: v1.0 and 1.0] Set light source parameters
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightfv")]
public static void Light(All light, All pname, float[] params)
Parameters
Type | Name | Description |
---|---|---|
All | light | Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. |
All | pname | Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. |
Single[] | params |
LightModel(All, Single)
[requires: v1.0 and 1.0] Set the lighting model parameters
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelf")]
public static void LightModel(All pname, float param)
Parameters
Type | Name | Description |
---|---|---|
All | pname | Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. |
Single | param | Specifies the value that param will be set to. |
LightModel(All, Single*)
[requires: v1.0 and 1.0] Set the lighting model parameters
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelfv")]
public static void LightModel(All pname, float *params)
Parameters
Type | Name | Description |
---|---|---|
All | pname | Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. |
Single* | params |
LightModel(All, Single[])
[requires: v1.0 and 1.0] Set the lighting model parameters
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelfv")]
public static void LightModel(All pname, float[] params)
Parameters
Type | Name | Description |
---|---|---|
All | pname | Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. |
Single[] | params |
LightModelx(All, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelx")]
public static void LightModelx(All pname, int param)
Parameters
Type | Name | Description |
---|---|---|
All | pname | |
Int32 | param |
LightModelx(All, Int32*)
[requires: v1.0 and 1.0]
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelxv")]
public static void LightModelx(All pname, int *params)
Parameters
Type | Name | Description |
---|---|---|
All | pname | |
Int32* | params |
LightModelx(All, Int32[])
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelxv")]
public static void LightModelx(All pname, int[] params)
Parameters
Type | Name | Description |
---|---|---|
All | pname | |
Int32[] | params |
Lightx(All, All, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightx")]
public static void Lightx(All light, All pname, int param)
Parameters
Type | Name | Description |
---|---|---|
All | light | |
All | pname | |
Int32 | param |
Lightx(All, All, Int32*)
[requires: v1.0 and 1.0]
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightxv")]
public static void Lightx(All light, All pname, int *params)
Parameters
Type | Name | Description |
---|---|---|
All | light | |
All | pname | |
Int32* | params |
Lightx(All, All, Int32[])
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightxv")]
public static void Lightx(All light, All pname, int[] params)
Parameters
Type | Name | Description |
---|---|---|
All | light | |
All | pname | |
Int32[] | params |
LineWidth(Single)
[requires: v1.0 and 1.0] Specify the width of rasterized lines
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLineWidth")]
public static void LineWidth(float width)
Parameters
Type | Name | Description |
---|---|---|
Single | width | Specifies the width of rasterized lines. The initial value is 1. |
LineWidthx(Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLineWidthx")]
public static void LineWidthx(int width)
Parameters
Type | Name | Description |
---|---|---|
Int32 | width |
LoadIdentity()
[requires: v1.0 and 1.0] Replace the current matrix with the identity matrix
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadIdentity")]
public static void LoadIdentity()
LoadMatrix(Single*)
[requires: v1.0 and 1.0] Replace the current matrix with the specified matrix
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixf")]
public static void LoadMatrix(float *m)
Parameters
Type | Name | Description |
---|---|---|
Single* | m | Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. |
LoadMatrix(ref Single)
[requires: v1.0 and 1.0] Replace the current matrix with the specified matrix
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixf")]
public static void LoadMatrix(ref float m)
Parameters
Type | Name | Description |
---|---|---|
Single | m | Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. |
LoadMatrix(Single[])
[requires: v1.0 and 1.0] Replace the current matrix with the specified matrix
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixf")]
public static void LoadMatrix(float[] m)
Parameters
Type | Name | Description |
---|---|---|
Single[] | m | Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. |
LoadMatrixx(Int32*)
[requires: v1.0 and 1.0]
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixx")]
public static void LoadMatrixx(int *m)
Parameters
Type | Name | Description |
---|---|---|
Int32* | m |
LoadMatrixx(ref Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixx")]
public static void LoadMatrixx(ref int m)
Parameters
Type | Name | Description |
---|---|---|
Int32 | m |
LoadMatrixx(Int32[])
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixx")]
public static void LoadMatrixx(int[] m)
Parameters
Type | Name | Description |
---|---|---|
Int32[] | m |
LogicOp(All)
[requires: v1.0 and 1.0] Specify a logical pixel operation for rendering
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLogicOp")]
public static void LogicOp(All opcode)
Parameters
Type | Name | Description |
---|---|---|
All | opcode | Specifies a symbolic constant that selects a logical operation. The following symbols are accepted: GL_CLEAR, GL_SET, GL_COPY, GL_COPY_INVERTED, GL_NOOP, GL_INVERT, GL_AND, GL_NAND, GL_OR, GL_NOR, GL_XOR, GL_EQUIV, GL_AND_REVERSE, GL_AND_INVERTED, GL_OR_REVERSE, and GL_OR_INVERTED. The initial value is GL_COPY. |
Material(All, All, Single)
[requires: v1.0 and 1.0] Specify material parameters for the lighting model
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialf")]
public static void Material(All face, All pname, float param)
Parameters
Type | Name | Description |
---|---|---|
All | face | Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. |
All | pname | Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. |
Single | param | Specifies the value that parameter GL_SHININESS will be set to. |
Material(All, All, Single*)
[requires: v1.0 and 1.0] Specify material parameters for the lighting model
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialfv")]
public static void Material(All face, All pname, float *params)
Parameters
Type | Name | Description |
---|---|---|
All | face | Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. |
All | pname | Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. |
Single* | params |
Material(All, All, Single[])
[requires: v1.0 and 1.0] Specify material parameters for the lighting model
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialfv")]
public static void Material(All face, All pname, float[] params)
Parameters
Type | Name | Description |
---|---|---|
All | face | Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. |
All | pname | Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. |
Single[] | params |
Materialx(All, All, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialx")]
public static void Materialx(All face, All pname, int param)
Parameters
Type | Name | Description |
---|---|---|
All | face | |
All | pname | |
Int32 | param |
Materialx(All, All, Int32*)
[requires: v1.0 and 1.0]
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialxv")]
public static void Materialx(All face, All pname, int *params)
Parameters
Type | Name | Description |
---|---|---|
All | face | |
All | pname | |
Int32* | params |
Materialx(All, All, Int32[])
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialxv")]
public static void Materialx(All face, All pname, int[] params)
Parameters
Type | Name | Description |
---|---|---|
All | face | |
All | pname | |
Int32[] | params |
MatrixMode(All)
[requires: v1.0 and 1.0] Specify which matrix is the current matrix
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMatrixMode")]
public static void MatrixMode(All mode)
Parameters
Type | Name | Description |
---|---|---|
All | mode | Specifies which matrix stack is the target for subsequent matrix operations. Three values are accepted: GL_MODELVIEW, GL_PROJECTION, and GL_TEXTURE. The initial value is GL_MODELVIEW. Additionally, if the ARB_imaging extension is supported, GL_COLOR is also accepted. |
MultiTexCoord4(All, Single, Single, Single, Single)
[requires: v1.0 and 1.0] Set the current texture coordinates
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultiTexCoord4f")]
public static void MultiTexCoord4(All target, float s, float t, float r, float q)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. |
Single | s | Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. |
Single | t | |
Single | r | |
Single | q |
MultiTexCoord4x(All, Int32, Int32, Int32, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultiTexCoord4x")]
public static void MultiTexCoord4x(All target, int s, int t, int r, int q)
Parameters
Type | Name | Description |
---|---|---|
All | target | |
Int32 | s | |
Int32 | t | |
Int32 | r | |
Int32 | q |
MultMatrix(Single*)
[requires: v1.0 and 1.0] Multiply the current matrix with the specified matrix
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixf")]
public static void MultMatrix(float *m)
Parameters
Type | Name | Description |
---|---|---|
Single* | m | Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. |
MultMatrix(ref Single)
[requires: v1.0 and 1.0] Multiply the current matrix with the specified matrix
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixf")]
public static void MultMatrix(ref float m)
Parameters
Type | Name | Description |
---|---|---|
Single | m | Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. |
MultMatrix(Single[])
[requires: v1.0 and 1.0] Multiply the current matrix with the specified matrix
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixf")]
public static void MultMatrix(float[] m)
Parameters
Type | Name | Description |
---|---|---|
Single[] | m | Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. |
MultMatrixx(Int32*)
[requires: v1.0 and 1.0]
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixx")]
public static void MultMatrixx(int *m)
Parameters
Type | Name | Description |
---|---|---|
Int32* | m |
MultMatrixx(ref Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixx")]
public static void MultMatrixx(ref int m)
Parameters
Type | Name | Description |
---|---|---|
Int32 | m |
MultMatrixx(Int32[])
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixx")]
public static void MultMatrixx(int[] m)
Parameters
Type | Name | Description |
---|---|---|
Int32[] | m |
Normal3(Single, Single, Single)
[requires: v1.0 and 1.0] Set the current normal vector
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormal3f")]
public static void Normal3(float nx, float ny, float nz)
Parameters
Type | Name | Description |
---|---|---|
Single | nx | Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1).
|
Single | ny | |
Single | nz |
Normal3x(Int32, Int32, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormal3x")]
public static void Normal3x(int nx, int ny, int nz)
Parameters
Type | Name | Description |
---|---|---|
Int32 | nx | |
Int32 | ny | |
Int32 | nz |
NormalPointer(All, Int32, IntPtr)
[requires: v1.0 and 1.0] Define an array of normals
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")]
public static void NormalPointer(All type, int stride, IntPtr pointer)
Parameters
Type | Name | Description |
---|---|---|
All | type | Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. |
IntPtr | pointer | Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. |
NormalPointer<T2>(All, Int32, ref T2)
[requires: v1.0 and 1.0] Define an array of normals
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")]
public static void NormalPointer<T2>(All type, int stride, ref T2 pointer)
where T2 : struct
Parameters
Type | Name | Description |
---|---|---|
All | type | Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. |
T2 | pointer | Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T2 |
NormalPointer<T2>(All, Int32, T2[])
[requires: v1.0 and 1.0] Define an array of normals
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")]
public static void NormalPointer<T2>(All type, int stride, T2[] pointer)
where T2 : struct
Parameters
Type | Name | Description |
---|---|---|
All | type | Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. |
T2[] | pointer | Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T2 |
NormalPointer<T2>(All, Int32, T2[,,])
[requires: v1.0 and 1.0] Define an array of normals
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")]
public static void NormalPointer<T2>(All type, int stride, T2[,, ] pointer)
where T2 : struct
Parameters
Type | Name | Description |
---|---|---|
All | type | Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. |
T2[,,] | pointer | Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T2 |
NormalPointer<T2>(All, Int32, T2[,])
[requires: v1.0 and 1.0] Define an array of normals
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")]
public static void NormalPointer<T2>(All type, int stride, T2[, ] pointer)
where T2 : struct
Parameters
Type | Name | Description |
---|---|---|
All | type | Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. |
T2[,] | pointer | Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T2 |
Ortho(Single, Single, Single, Single, Single, Single)
[requires: v1.0 and 1.0] Multiply the current matrix with an orthographic matrix
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glOrthof")]
public static void Ortho(float left, float right, float bottom, float top, float zNear, float zFar)
Parameters
Type | Name | Description |
---|---|---|
Single | left | Specify the coordinates for the left and right vertical clipping planes. |
Single | right | |
Single | bottom | Specify the coordinates for the bottom and top horizontal clipping planes. |
Single | top | |
Single | zNear | |
Single | zFar |
Orthox(Int32, Int32, Int32, Int32, Int32, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glOrthox")]
public static void Orthox(int left, int right, int bottom, int top, int zNear, int zFar)
Parameters
Type | Name | Description |
---|---|---|
Int32 | left | |
Int32 | right | |
Int32 | bottom | |
Int32 | top | |
Int32 | zNear | |
Int32 | zFar |
PixelStore(All, Int32)
[requires: v1.0 and 1.0] Set pixel storage modes
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPixelStorei")]
public static void PixelStore(All pname, int param)
Parameters
Type | Name | Description |
---|---|---|
All | pname | Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT. |
Int32 | param | Specifies the value that pname is set to. |
PointSize(Single)
[requires: v1.0 and 1.0] Specify the diameter of rasterized points
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPointSize")]
public static void PointSize(float size)
Parameters
Type | Name | Description |
---|---|---|
Single | size | Specifies the diameter of rasterized points. The initial value is 1. |
PointSizex(Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPointSizex")]
public static void PointSizex(int size)
Parameters
Type | Name | Description |
---|---|---|
Int32 | size |
PolygonOffset(Single, Single)
[requires: v1.0 and 1.0] Set the scale and units used to calculate depth values
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPolygonOffset")]
public static void PolygonOffset(float factor, float units)
Parameters
Type | Name | Description |
---|---|---|
Single | factor | Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. |
Single | units | Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. |
PolygonOffsetx(Int32, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPolygonOffsetx")]
public static void PolygonOffsetx(int factor, int units)
Parameters
Type | Name | Description |
---|---|---|
Int32 | factor | |
Int32 | units |
PopMatrix()
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPopMatrix")]
public static void PopMatrix()
PushMatrix()
[requires: v1.0 and 1.0] Push and pop the current matrix stack
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPushMatrix")]
public static void PushMatrix()
ReadPixels(Int32, Int32, Int32, Int32, All, All, IntPtr)
[requires: v1.0 and 1.0] Read a block of pixels from the frame buffer
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")]
public static void ReadPixels(int x, int y, int width, int height, All format, All type, IntPtr pixels)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. |
Int32 | y | |
Int32 | width | Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. |
Int32 | height | |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. |
IntPtr | pixels |
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, ref T6)
[requires: v1.0 and 1.0] Read a block of pixels from the frame buffer
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")]
public static void ReadPixels<T6>(int x, int y, int width, int height, All format, All type, ref T6 pixels)
where T6 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. |
Int32 | y | |
Int32 | width | Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. |
Int32 | height | |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. |
T6 | pixels |
Type Parameters
Name | Description |
---|---|
T6 |
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[])
[requires: v1.0 and 1.0] Read a block of pixels from the frame buffer
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")]
public static void ReadPixels<T6>(int x, int y, int width, int height, All format, All type, T6[] pixels)
where T6 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. |
Int32 | y | |
Int32 | width | Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. |
Int32 | height | |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. |
T6[] | pixels |
Type Parameters
Name | Description |
---|---|
T6 |
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[,,])
[requires: v1.0 and 1.0] Read a block of pixels from the frame buffer
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")]
public static void ReadPixels<T6>(int x, int y, int width, int height, All format, All type, T6[,, ] pixels)
where T6 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. |
Int32 | y | |
Int32 | width | Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. |
Int32 | height | |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. |
T6[,,] | pixels |
Type Parameters
Name | Description |
---|---|
T6 |
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[,])
[requires: v1.0 and 1.0] Read a block of pixels from the frame buffer
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")]
public static void ReadPixels<T6>(int x, int y, int width, int height, All format, All type, T6[, ] pixels)
where T6 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. |
Int32 | y | |
Int32 | width | Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. |
Int32 | height | |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. |
T6[,] | pixels |
Type Parameters
Name | Description |
---|---|
T6 |
Rotate(Single, Single, Single, Single)
[requires: v1.0 and 1.0] Multiply the current matrix by a rotation matrix
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glRotatef")]
public static void Rotate(float angle, float x, float y, float z)
Parameters
Type | Name | Description |
---|---|---|
Single | angle | Specifies the angle of rotation, in degrees. |
Single | x | Specify the x, y, and z coordinates of a vector, respectively. |
Single | y | |
Single | z |
Rotatex(Int32, Int32, Int32, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glRotatex")]
public static void Rotatex(int angle, int x, int y, int z)
Parameters
Type | Name | Description |
---|---|---|
Int32 | angle | |
Int32 | x | |
Int32 | y | |
Int32 | z |
SampleCoverage(Single, Boolean)
[requires: v1.0 and 1.0] Specify multisample coverage parameters
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glSampleCoverage")]
public static void SampleCoverage(float value, bool invert)
Parameters
Type | Name | Description |
---|---|---|
Single | value | Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0. |
Boolean | invert | Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE. |
SampleCoveragex(Int32, Boolean)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glSampleCoveragex")]
public static void SampleCoveragex(int value, bool invert)
Parameters
Type | Name | Description |
---|---|---|
Int32 | value | |
Boolean | invert |
Scale(Single, Single, Single)
[requires: v1.0 and 1.0] Multiply the current matrix by a general scaling matrix
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glScalef")]
public static void Scale(float x, float y, float z)
Parameters
Type | Name | Description |
---|---|---|
Single | x | Specify scale factors along the x, y, and z axes, respectively. |
Single | y | |
Single | z |
Scalex(Int32, Int32, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glScalex")]
public static void Scalex(int x, int y, int z)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | |
Int32 | y | |
Int32 | z |
Scissor(Int32, Int32, Int32, Int32)
[requires: v1.0 and 1.0] Define the scissor box
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glScissor")]
public static void Scissor(int x, int y, int width, int height)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | Specify the lower left corner of the scissor box. Initially (0, 0). |
Int32 | y | |
Int32 | width | Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window. |
Int32 | height |
ShadeModel(All)
[requires: v1.0 and 1.0] Select flat or smooth shading
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glShadeModel")]
public static void ShadeModel(All mode)
Parameters
Type | Name | Description |
---|---|---|
All | mode | Specifies a symbolic value representing a shading technique. Accepted values are GL_FLAT and GL_SMOOTH. The initial value is GL_SMOOTH. |
StencilFunc(All, Int32, Int32)
[requires: v1.0 and 1.0] Set front and back function and reference value for stencil testing
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilFunc")]
public static void StencilFunc(All func, int ref, int mask)
Parameters
Type | Name | Description |
---|---|---|
All | func | Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. |
Int32 | ref | Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. |
Int32 | mask | Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. |
StencilFunc(All, Int32, UInt32)
[requires: v1.0 and 1.0] Set front and back function and reference value for stencil testing
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilFunc")]
public static void StencilFunc(All func, int ref, uint mask)
Parameters
Type | Name | Description |
---|---|---|
All | func | Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. |
Int32 | ref | Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. |
UInt32 | mask | Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. |
StencilMask(Int32)
[requires: v1.0 and 1.0] Control the front and back writing of individual bits in the stencil planes
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilMask")]
public static void StencilMask(int mask)
Parameters
Type | Name | Description |
---|---|---|
Int32 | mask | Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. |
StencilMask(UInt32)
[requires: v1.0 and 1.0] Control the front and back writing of individual bits in the stencil planes
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilMask")]
public static void StencilMask(uint mask)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | mask | Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. |
StencilOp(All, All, All)
[requires: v1.0 and 1.0] Set front and back stencil test actions
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilOp")]
public static void StencilOp(All fail, All zfail, All zpass)
Parameters
Type | Name | Description |
---|---|---|
All | fail | |
All | zfail | |
All | zpass |
TexCoordPointer(Int32, All, Int32, IntPtr)
[requires: v1.0 and 1.0] Define an array of texture coordinates
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
public static void TexCoordPointer(int size, All type, int stride, IntPtr pointer)
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. |
All | type | Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. |
IntPtr | pointer | Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. |
TexCoordPointer<T3>(Int32, All, Int32, ref T3)
[requires: v1.0 and 1.0] Define an array of texture coordinates
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
public static void TexCoordPointer<T3>(int size, All type, int stride, ref T3 pointer)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. |
All | type | Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. |
T3 | pointer | Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T3 |
TexCoordPointer<T3>(Int32, All, Int32, T3[])
[requires: v1.0 and 1.0] Define an array of texture coordinates
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
public static void TexCoordPointer<T3>(int size, All type, int stride, T3[] pointer)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. |
All | type | Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. |
T3[] | pointer | Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T3 |
TexCoordPointer<T3>(Int32, All, Int32, T3[,,])
[requires: v1.0 and 1.0] Define an array of texture coordinates
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
public static void TexCoordPointer<T3>(int size, All type, int stride, T3[,, ] pointer)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. |
All | type | Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. |
T3[,,] | pointer | Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T3 |
TexCoordPointer<T3>(Int32, All, Int32, T3[,])
[requires: v1.0 and 1.0] Define an array of texture coordinates
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
public static void TexCoordPointer<T3>(int size, All type, int stride, T3[, ] pointer)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. |
All | type | Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. |
T3[,] | pointer | Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T3 |
TexEnv(All, All, Single)
[requires: v1.0 and 1.0] Set texture environment parameters
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvf")]
public static void TexEnv(All target, All pname, float param)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. |
All | pname | Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. |
Single | param | Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. |
TexEnv(All, All, Single*)
[requires: v1.0 and 1.0] Set texture environment parameters
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvfv")]
public static void TexEnv(All target, All pname, float *params)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. |
All | pname | Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. |
Single* | params |
TexEnv(All, All, Single[])
[requires: v1.0 and 1.0] Set texture environment parameters
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvfv")]
public static void TexEnv(All target, All pname, float[] params)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. |
All | pname | Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. |
Single[] | params |
TexEnvx(All, All, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvx")]
public static void TexEnvx(All target, All pname, int param)
Parameters
Type | Name | Description |
---|---|---|
All | target | |
All | pname | |
Int32 | param |
TexEnvx(All, All, Int32*)
[requires: v1.0 and 1.0]
Declaration
[CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvxv")]
public static void TexEnvx(All target, All pname, int *params)
Parameters
Type | Name | Description |
---|---|---|
All | target | |
All | pname | |
Int32* | params |
TexEnvx(All, All, Int32[])
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvxv")]
public static void TexEnvx(All target, All pname, int[] params)
Parameters
Type | Name | Description |
---|---|---|
All | target | |
All | pname | |
Int32[] | params |
TexImage2D(All, Int32, Int32, Int32, Int32, Int32, All, All, IntPtr)
[requires: v1.0 and 1.0] Specify a two-dimensional texture image
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")]
public static void TexImage2D(All target, int level, int internalformat, int width, int height, int border, All format, All type, IntPtr pixels)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. |
Int32 | internalformat | |
Int32 | width | Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. |
Int32 | height | Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. |
Int32 | border | This value must be 0. |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. |
IntPtr | pixels |
TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, ref T8)
[requires: v1.0 and 1.0] Specify a two-dimensional texture image
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")]
public static void TexImage2D<T8>(All target, int level, int internalformat, int width, int height, int border, All format, All type, ref T8 pixels)
where T8 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. |
Int32 | internalformat | |
Int32 | width | Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. |
Int32 | height | Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. |
Int32 | border | This value must be 0. |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. |
T8 | pixels |
Type Parameters
Name | Description |
---|---|
T8 |
TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[])
[requires: v1.0 and 1.0] Specify a two-dimensional texture image
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")]
public static void TexImage2D<T8>(All target, int level, int internalformat, int width, int height, int border, All format, All type, T8[] pixels)
where T8 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. |
Int32 | internalformat | |
Int32 | width | Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. |
Int32 | height | Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. |
Int32 | border | This value must be 0. |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. |
T8[] | pixels |
Type Parameters
Name | Description |
---|---|
T8 |
TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[,,])
[requires: v1.0 and 1.0] Specify a two-dimensional texture image
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")]
public static void TexImage2D<T8>(All target, int level, int internalformat, int width, int height, int border, All format, All type, T8[,, ] pixels)
where T8 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. |
Int32 | internalformat | |
Int32 | width | Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. |
Int32 | height | Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. |
Int32 | border | This value must be 0. |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. |
T8[,,] | pixels |
Type Parameters
Name | Description |
---|---|
T8 |
TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[,])
[requires: v1.0 and 1.0] Specify a two-dimensional texture image
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")]
public static void TexImage2D<T8>(All target, int level, int internalformat, int width, int height, int border, All format, All type, T8[, ] pixels)
where T8 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. |
Int32 | internalformat | |
Int32 | width | Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. |
Int32 | height | Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. |
Int32 | border | This value must be 0. |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. |
T8[,] | pixels |
Type Parameters
Name | Description |
---|---|
T8 |
TexParameter(All, All, Single)
[requires: v1.0 and 1.0] Set texture parameters
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexParameterf")]
public static void TexParameter(All target, All pname, float param)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. |
All | pname | Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. |
Single | param | Specifies the value of pname. |
TexParameterx(All, All, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexParameterx")]
public static void TexParameterx(All target, All pname, int param)
Parameters
Type | Name | Description |
---|---|---|
All | target | |
All | pname | |
Int32 | param |
TexSubImage2D(All, Int32, Int32, Int32, Int32, Int32, All, All, IntPtr)
[requires: v1.0 and 1.0] Specify a two-dimensional texture subimage
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
public static void TexSubImage2D(All target, int level, int xoffset, int yoffset, int width, int height, All format, All type, IntPtr pixels)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
Int32 | xoffset | Specifies a texel offset in the x direction within the texture array. |
Int32 | yoffset | Specifies a texel offset in the y direction within the texture array. |
Int32 | width | Specifies the width of the texture subimage. |
Int32 | height | Specifies the height of the texture subimage. |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. |
IntPtr | pixels |
TexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, ref T8)
[requires: v1.0 and 1.0] Specify a two-dimensional texture subimage
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
public static void TexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, All type, ref T8 pixels)
where T8 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
Int32 | xoffset | Specifies a texel offset in the x direction within the texture array. |
Int32 | yoffset | Specifies a texel offset in the y direction within the texture array. |
Int32 | width | Specifies the width of the texture subimage. |
Int32 | height | Specifies the height of the texture subimage. |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. |
T8 | pixels |
Type Parameters
Name | Description |
---|---|
T8 |
TexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[])
[requires: v1.0 and 1.0] Specify a two-dimensional texture subimage
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
public static void TexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, All type, T8[] pixels)
where T8 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
Int32 | xoffset | Specifies a texel offset in the x direction within the texture array. |
Int32 | yoffset | Specifies a texel offset in the y direction within the texture array. |
Int32 | width | Specifies the width of the texture subimage. |
Int32 | height | Specifies the height of the texture subimage. |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. |
T8[] | pixels |
Type Parameters
Name | Description |
---|---|
T8 |
TexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[,,])
[requires: v1.0 and 1.0] Specify a two-dimensional texture subimage
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
public static void TexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, All type, T8[,, ] pixels)
where T8 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
Int32 | xoffset | Specifies a texel offset in the x direction within the texture array. |
Int32 | yoffset | Specifies a texel offset in the y direction within the texture array. |
Int32 | width | Specifies the width of the texture subimage. |
Int32 | height | Specifies the height of the texture subimage. |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. |
T8[,,] | pixels |
Type Parameters
Name | Description |
---|---|
T8 |
TexSubImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[,])
[requires: v1.0 and 1.0] Specify a two-dimensional texture subimage
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
public static void TexSubImage2D<T8>(All target, int level, int xoffset, int yoffset, int width, int height, All format, All type, T8[, ] pixels)
where T8 : struct
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. |
Int32 | level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
Int32 | xoffset | Specifies a texel offset in the x direction within the texture array. |
Int32 | yoffset | Specifies a texel offset in the y direction within the texture array. |
Int32 | width | Specifies the width of the texture subimage. |
Int32 | height | Specifies the height of the texture subimage. |
All | format | Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. |
All | type | Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. |
T8[,] | pixels |
Type Parameters
Name | Description |
---|---|
T8 |
Translate(Single, Single, Single)
[requires: v1.0 and 1.0] Multiply the current matrix by a translation matrix
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTranslatef")]
public static void Translate(float x, float y, float z)
Parameters
Type | Name | Description |
---|---|---|
Single | x | Specify the x, y, and z coordinates of a translation vector. |
Single | y | |
Single | z |
Translatex(Int32, Int32, Int32)
[requires: v1.0 and 1.0]
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTranslatex")]
public static void Translatex(int x, int y, int z)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | |
Int32 | y | |
Int32 | z |
VertexPointer(Int32, All, Int32, IntPtr)
[requires: v1.0 and 1.0] Define an array of vertex data
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")]
public static void VertexPointer(int size, All type, int stride, IntPtr pointer)
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. |
All | type | Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. |
IntPtr | pointer | Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. |
VertexPointer<T3>(Int32, All, Int32, ref T3)
[requires: v1.0 and 1.0] Define an array of vertex data
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")]
public static void VertexPointer<T3>(int size, All type, int stride, ref T3 pointer)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. |
All | type | Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. |
T3 | pointer | Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T3 |
VertexPointer<T3>(Int32, All, Int32, T3[])
[requires: v1.0 and 1.0] Define an array of vertex data
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")]
public static void VertexPointer<T3>(int size, All type, int stride, T3[] pointer)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. |
All | type | Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. |
T3[] | pointer | Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T3 |
VertexPointer<T3>(Int32, All, Int32, T3[,,])
[requires: v1.0 and 1.0] Define an array of vertex data
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")]
public static void VertexPointer<T3>(int size, All type, int stride, T3[,, ] pointer)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. |
All | type | Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. |
T3[,,] | pointer | Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T3 |
VertexPointer<T3>(Int32, All, Int32, T3[,])
[requires: v1.0 and 1.0] Define an array of vertex data
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")]
public static void VertexPointer<T3>(int size, All type, int stride, T3[, ] pointer)
where T3 : struct
Parameters
Type | Name | Description |
---|---|---|
Int32 | size | Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. |
All | type | Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. |
Int32 | stride | Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. |
T3[,] | pointer | Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. |
Type Parameters
Name | Description |
---|---|
T3 |
Viewport(Int32, Int32, Int32, Int32)
[requires: v1.0 and 1.0] Set the viewport
Declaration
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glViewport")]
public static void Viewport(int x, int y, int width, int height)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). |
Int32 | y | |
Int32 | width | Specify the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. |
Int32 | height |