C# Class OpenTK.Graphics.OpenGL.GL

OpenGL bindings for .NET, implementing the full OpenGL API, including extensions.

This class contains all OpenGL enums and functions defined in the latest OpenGL specification. The official .spec files can be found at: http://opengl.org/registry/.

A valid OpenGL context must be created before calling any OpenGL function.

Use the GL.Load and GL.LoadAll methods to prepare function entry points prior to use. To maintain cross-platform compatibility, this must be done for both core and extension functions. The GameWindow and the GLControl class will take care of this automatically.

You can use the GL.SupportsExtension method to check whether any given category of extension functions exists in the current OpenGL context. Keep in mind that different OpenGL contexts may support different extensions, and under different entry points. Always check if all required extensions are still supported when changing visuals or pixel formats.

You may retrieve the entry point for an OpenGL function using the GL.GetDelegate method.

Inheritance: GraphicsBindingsBase
Mostra file Open project: andykorth/opentk Class Usage Examples

Public Methods

Method Description
BlendColor ( System.Color color ) : void
BlendColor ( Color4 color ) : void
ClearColor ( System.Color color ) : void
ClearColor ( Color4 color ) : void
Color3 ( System.Color color ) : void
Color3 ( System.Vector3 color ) : void
Color4 ( System.Color color ) : void
Color4 ( Color4 color ) : void
Color4 ( System.Vector4 color ) : void
ColorPointer ( int size, ColorPointerType type, int stride, int offset ) : void
DeleteBuffer ( int id ) : void

[requires: v1.5] Deletes a single buffer object

DeleteFramebuffer ( int id ) : void

[requires: v3.0 and ARB_framebuffer_object] Deletes a single framebuffer object

DeleteProgramPipeline ( int id ) : void

[requires: v4.1 and ARB_separate_shader_objects] Deletes a single program pipeline object

DeleteQuery ( int id ) : void

[requires: v1.5] Deletes a single query object

DeleteRenderbuffer ( int id ) : void

[requires: v3.0 and ARB_framebuffer_object] Deletes a single renderbuffer object

DeleteSampler ( int id ) : void

Deletes a single sampler object

DeleteTexture ( int id ) : void

[requires: v1.1] Delete a single texture name

DeleteTransformFeedback ( int id ) : void

[requires: v1.2 and ARB_transform_feedback2] Deletes a single transform feedback object

DeleteVertexArray ( int id ) : void

[requires: v3.0 and ARB_vertex_array_object] Deletes a single vertex array object

DrawElements ( BeginMode mode, int count, DrawElementsType type, int offset ) : void
EdgeFlagPointer ( int stride, int offset ) : void
FogCoordPointer ( FogPointerType type, int stride, int offset ) : void
GenBuffer ( ) : int

[requires: v1.5] Generates a single buffer object name

GenFramebuffer ( ) : int

[requires: v3.0 and ARB_framebuffer_object] Generates a single framebuffer object name

GenProgramPipeline ( ) : int

[requires: v4.1 and ARB_separate_shader_objects] Generates a single single pipeline object name

GenQuery ( ) : int

[requires: v1.5] Generates a single query object name

GenRenderbuffer ( ) : int

[requires: v3.0 and ARB_framebuffer_object] Generates a single renderbuffer object name

GenSampler ( ) : int

Generates a single sampler object name

GenTexture ( ) : int

[requires: v1.1] Generate a single texture name

GenTransformFeedback ( ) : int

[requires: v1.2 and ARB_transform_feedback2] Generates a single transform feedback object name

GenVertexArray ( ) : int

[requires: v3.0 and ARB_vertex_array_object] Generates a single vertex array object name

GetActiveAttrib ( int program, int index, int &size, ActiveAttribType &type ) : string
GetActiveUniform ( int program, int uniformIndex, int &size, ActiveUniformType &type ) : string
GetActiveUniformBlockName ( int program, int uniformIndex ) : string
GetActiveUniformName ( int program, int uniformIndex ) : string
GetDouble ( GetPName pname, System.Matrix4d &matrix ) : void
GetDouble ( GetPName pname, Vector2d &vector ) : void
GetDouble ( GetPName pname, Vector3d &vector ) : void
GetDouble ( GetPName pname, Vector4d &vector ) : void
GetFloat ( GetPName pname, Matrix4 &matrix ) : void
GetFloat ( GetPName pname, System.Vector2 &vector ) : void
GetFloat ( GetPName pname, System.Vector3 &vector ) : void
GetFloat ( GetPName pname, System.Vector4 &vector ) : void
GetProgramInfoLog ( Int32 program ) : string
GetProgramInfoLog ( Int32 program, string &info ) : void
GetShaderInfoLog ( Int32 shader ) : string
GetShaderInfoLog ( Int32 shader, string &info ) : void
IndexPointer ( IndexPointerType type, int stride, int offset ) : void
Light ( LightName name, LightParameter pname, Color4 @params ) : void
Light ( LightName name, LightParameter pname, System.Vector4 @params ) : void
LoadMatrix ( Matrix4 &mat ) : void
LoadMatrix ( System.Matrix4d &mat ) : void
LoadTransposeMatrix ( Matrix4 &mat ) : void
LoadTransposeMatrix ( System.Matrix4d &mat ) : void
Material ( MaterialFace face, MaterialParameter pname, Color4 @params ) : void
Material ( MaterialFace face, MaterialParameter pname, System.Vector4 @params ) : void
MultMatrix ( Matrix4 &mat ) : void
MultMatrix ( System.Matrix4d &mat ) : void
MultTransposeMatrix ( Matrix4 &mat ) : void
MultTransposeMatrix ( System.Matrix4d &mat ) : void
MultiTexCoord2 ( TextureUnit target, System.Vector2 &v ) : void
MultiTexCoord2 ( TextureUnit target, Vector2d &v ) : void
MultiTexCoord3 ( TextureUnit target, System.Vector3 &v ) : void
MultiTexCoord3 ( TextureUnit target, Vector3d &v ) : void
MultiTexCoord4 ( TextureUnit target, System.Vector4 &v ) : void
MultiTexCoord4 ( TextureUnit target, Vector4d &v ) : void
Normal3 ( System.Vector3 normal ) : void
Normal3 ( Vector3d normal ) : void
NormalPointer ( NormalPointerType type, int stride, int offset ) : void
PointParameter ( PointSpriteCoordOriginParameter param ) : void

Helper function that defines the coordinate origin of the Point Sprite.

RasterPos2 ( System.Vector2 pos ) : void
RasterPos2 ( Vector2d pos ) : void
RasterPos3 ( System.Vector3 pos ) : void
RasterPos3 ( Vector3d pos ) : void
RasterPos4 ( System.Vector4 pos ) : void
RasterPos4 ( Vector4d pos ) : void
Rect ( Rectangle rect ) : void
Rect ( RectangleF rect ) : void
Rotate ( System.Single angle, System.Vector3 axis ) : void
Rotate ( double angle, Vector3d axis ) : void
Scale ( System.Vector3 scale ) : void
Scale ( Vector3d scale ) : void
ShaderSource ( Int32 shader, System @string ) : void
TexCoord2 ( System.Vector2 v ) : void
TexCoord2 ( Vector2d v ) : void
TexCoord3 ( System.Vector3 v ) : void
TexCoord3 ( Vector3d v ) : void
TexCoord4 ( System.Vector4 v ) : void
TexCoord4 ( Vector4d v ) : void
TexCoordPointer ( int size, TexCoordPointerType type, int stride, int offset ) : void
TexEnv ( TextureEnvTarget target, TextureEnvParameter pname, System.Color color ) : void
TexEnv ( TextureEnvTarget target, TextureEnvParameter pname, Color4 color ) : void
Translate ( System.Vector3 trans ) : void
Translate ( Vector3d trans ) : void
Uniform4 ( int location, Color4 color ) : void
Uniform4 ( int location, Quaternion quaternion ) : void
UniformMatrix2 ( int location, bool transpose, Matrix2 &matrix ) : void
UniformMatrix2 ( int location, bool transpose, Matrix2d &matrix ) : void
UniformMatrix2x3 ( int location, bool transpose, Matrix2x3 &matrix ) : void
UniformMatrix2x3 ( int location, bool transpose, Matrix2x3d &matrix ) : void
UniformMatrix2x4 ( int location, bool transpose, Matrix2x4 &matrix ) : void
UniformMatrix2x4 ( int location, bool transpose, Matrix2x4d &matrix ) : void
UniformMatrix3 ( int location, bool transpose, Matrix3 &matrix ) : void
UniformMatrix3 ( int location, bool transpose, Matrix3d &matrix ) : void
UniformMatrix3x2 ( int location, bool transpose, Matrix3x2 &matrix ) : void
UniformMatrix3x2 ( int location, bool transpose, Matrix3x2d &matrix ) : void
UniformMatrix3x4 ( int location, bool transpose, Matrix3x4 &matrix ) : void
UniformMatrix3x4 ( int location, bool transpose, Matrix3x4d &matrix ) : void
UniformMatrix4 ( int location, bool transpose, Matrix4 &matrix ) : void
UniformMatrix4 ( int location, bool transpose, Matrix4d &matrix ) : void
UniformMatrix4x2 ( int location, bool transpose, Matrix4x2 &matrix ) : void
UniformMatrix4x2 ( int location, bool transpose, Matrix4x2d &matrix ) : void
UniformMatrix4x3 ( int location, bool transpose, Matrix4x3 &matrix ) : void
UniformMatrix4x3 ( int location, bool transpose, Matrix4x3d &matrix ) : void
Vertex2 ( Vector2 v ) : void
Vertex2 ( Vector2d v ) : void
Vertex3 ( Vector3 v ) : void
Vertex3 ( Vector3d v ) : void
Vertex4 ( Vector4 v ) : void
Vertex4 ( Vector4d v ) : void
VertexAttribPointer ( int index, int size, VertexAttribPointerType type, bool normalized, int stride, int offset ) : void
VertexPointer ( int size, VertexPointerType type, int stride, int offset ) : void
Viewport ( OpenTK rectangle ) : void
Viewport ( OpenTK location, OpenTK size ) : void
Viewport ( Point location, Size size ) : void
Viewport ( Rectangle rectangle ) : void
Viewport ( Size size ) : void

Private Methods

Method Description
DeleteBuffer ( uint id ) : void
DeleteFramebuffer ( uint id ) : void
DeleteProgramPipeline ( uint id ) : void
DeleteQuery ( uint id ) : void
DeleteRenderbuffer ( uint id ) : void
DeleteSampler ( uint id ) : void
DeleteTexture ( uint id ) : void
DeleteTransformFeedback ( uint id ) : void
DeleteVertexArray ( uint id ) : void
DisableClientState ( OpenTK array ) : void
EnableClientState ( OpenTK array ) : void
GL ( ) : System
GetActiveUniforms ( Int32 program, Int32 uniformCount, Int32 uniformIndices, ArbUniformBufferObject pname, [ @params ) : void
GetActiveUniforms ( UInt32 program, Int32 uniformCount, UInt32 uniformIndices, ArbUniformBufferObject pname, [ @params ) : void
LoadAll ( ) : void
Uniform2 ( int location, System.Vector2 &vector ) : void
Uniform3 ( int location, System.Vector3 &vector ) : void
Uniform4 ( int location, System.Vector4 &vector ) : void
VertexAttrib2 ( Int32 index, Vector2 &v ) : void
VertexAttrib2 ( Int32 index, Vector2d &v ) : void
VertexAttrib3 ( Int32 index, Vector3 &v ) : void
VertexAttrib3 ( Int32 index, Vector3d &v ) : void
VertexAttrib4 ( Int32 index, Vector4 &v ) : void
VertexAttrib4 ( Int32 index, Vector4d &v ) : void

Method Details

BlendColor() public static method

public static BlendColor ( System.Color color ) : void
color System.Color
return void

BlendColor() public static method

public static BlendColor ( Color4 color ) : void
color Color4
return void

ClearColor() public static method

public static ClearColor ( System.Color color ) : void
color System.Color
return void

ClearColor() public static method

public static ClearColor ( Color4 color ) : void
color Color4
return void

Color3() public static method

public static Color3 ( System.Color color ) : void
color System.Color
return void

Color3() public static method

public static Color3 ( System.Vector3 color ) : void
color System.Vector3
return void

Color4() public static method

public static Color4 ( System.Color color ) : void
color System.Color
return void

Color4() public static method

public static Color4 ( Color4 color ) : void
color Color4
return void

Color4() public static method

public static Color4 ( System.Vector4 color ) : void
color System.Vector4
return void

ColorPointer() public static method

public static ColorPointer ( int size, ColorPointerType type, int stride, int offset ) : void
size int
type ColorPointerType
stride int
offset int
return void

DeleteBuffer() public static method

[requires: v1.5] Deletes a single buffer object
public static DeleteBuffer ( int id ) : void
id int The buffer object to be deleted
return void

DeleteFramebuffer() public static method

[requires: v3.0 and ARB_framebuffer_object] Deletes a single framebuffer object
public static DeleteFramebuffer ( int id ) : void
id int The framebuffer object to be deleted
return void

DeleteProgramPipeline() public static method

[requires: v4.1 and ARB_separate_shader_objects] Deletes a single program pipeline object
public static DeleteProgramPipeline ( int id ) : void
id int The program pipeline object to be deleted
return void

DeleteQuery() public static method

[requires: v1.5] Deletes a single query object
public static DeleteQuery ( int id ) : void
id int The query object to be deleted
return void

DeleteRenderbuffer() public static method

[requires: v3.0 and ARB_framebuffer_object] Deletes a single renderbuffer object
public static DeleteRenderbuffer ( int id ) : void
id int The renderbuffer object to be deleted
return void

DeleteSampler() public static method

Deletes a single sampler object
public static DeleteSampler ( int id ) : void
id int The sampler object to be deleted
return void

DeleteTexture() public static method

[requires: v1.1] Delete a single texture name
public static DeleteTexture ( int id ) : void
id int The texture to be deleted
return void

DeleteTransformFeedback() public static method

[requires: v1.2 and ARB_transform_feedback2] Deletes a single transform feedback object
public static DeleteTransformFeedback ( int id ) : void
id int The transform feedback object to be deleted
return void

DeleteVertexArray() public static method

[requires: v3.0 and ARB_vertex_array_object] Deletes a single vertex array object
public static DeleteVertexArray ( int id ) : void
id int The vertex array object to be deleted
return void

DrawElements() public static method

public static DrawElements ( BeginMode mode, int count, DrawElementsType type, int offset ) : void
mode BeginMode
count int
type DrawElementsType
offset int
return void

EdgeFlagPointer() public static method

public static EdgeFlagPointer ( int stride, int offset ) : void
stride int
offset int
return void

FogCoordPointer() public static method

public static FogCoordPointer ( FogPointerType type, int stride, int offset ) : void
type FogPointerType
stride int
offset int
return void

GenBuffer() public static method

[requires: v1.5] Generates a single buffer object name
public static GenBuffer ( ) : int
return int

GenFramebuffer() public static method

[requires: v3.0 and ARB_framebuffer_object] Generates a single framebuffer object name
public static GenFramebuffer ( ) : int
return int

GenProgramPipeline() public static method

[requires: v4.1 and ARB_separate_shader_objects] Generates a single single pipeline object name
public static GenProgramPipeline ( ) : int
return int

GenQuery() public static method

[requires: v1.5] Generates a single query object name
public static GenQuery ( ) : int
return int

GenRenderbuffer() public static method

[requires: v3.0 and ARB_framebuffer_object] Generates a single renderbuffer object name
public static GenRenderbuffer ( ) : int
return int

GenSampler() public static method

Generates a single sampler object name
public static GenSampler ( ) : int
return int

GenTexture() public static method

[requires: v1.1] Generate a single texture name
public static GenTexture ( ) : int
return int

GenTransformFeedback() public static method

[requires: v1.2 and ARB_transform_feedback2] Generates a single transform feedback object name
public static GenTransformFeedback ( ) : int
return int

GenVertexArray() public static method

[requires: v3.0 and ARB_vertex_array_object] Generates a single vertex array object name
public static GenVertexArray ( ) : int
return int

GetActiveAttrib() public static method

public static GetActiveAttrib ( int program, int index, int &size, ActiveAttribType &type ) : string
program int
index int
size int
type ActiveAttribType
return string

GetActiveUniform() public static method

public static GetActiveUniform ( int program, int uniformIndex, int &size, ActiveUniformType &type ) : string
program int
uniformIndex int
size int
type ActiveUniformType
return string

GetActiveUniformBlockName() public static method

public static GetActiveUniformBlockName ( int program, int uniformIndex ) : string
program int
uniformIndex int
return string

GetActiveUniformName() public static method

public static GetActiveUniformName ( int program, int uniformIndex ) : string
program int
uniformIndex int
return string

GetDouble() public static method

public static GetDouble ( GetPName pname, System.Matrix4d &matrix ) : void
pname GetPName
matrix System.Matrix4d
return void

GetDouble() public static method

public static GetDouble ( GetPName pname, Vector2d &vector ) : void
pname GetPName
vector Vector2d
return void

GetDouble() public static method

public static GetDouble ( GetPName pname, Vector3d &vector ) : void
pname GetPName
vector Vector3d
return void

GetDouble() public static method

public static GetDouble ( GetPName pname, Vector4d &vector ) : void
pname GetPName
vector Vector4d
return void

GetFloat() public static method

public static GetFloat ( GetPName pname, Matrix4 &matrix ) : void
pname GetPName
matrix Matrix4
return void

GetFloat() public static method

public static GetFloat ( GetPName pname, System.Vector2 &vector ) : void
pname GetPName
vector System.Vector2
return void

GetFloat() public static method

public static GetFloat ( GetPName pname, System.Vector3 &vector ) : void
pname GetPName
vector System.Vector3
return void

GetFloat() public static method

public static GetFloat ( GetPName pname, System.Vector4 &vector ) : void
pname GetPName
vector System.Vector4
return void

GetProgramInfoLog() public static method

public static GetProgramInfoLog ( Int32 program ) : string
program System.Int32
return string

GetProgramInfoLog() public static method

public static GetProgramInfoLog ( Int32 program, string &info ) : void
program System.Int32
info string
return void

GetShaderInfoLog() public static method

public static GetShaderInfoLog ( Int32 shader ) : string
shader System.Int32
return string

GetShaderInfoLog() public static method

public static GetShaderInfoLog ( Int32 shader, string &info ) : void
shader System.Int32
info string
return void

IndexPointer() public static method

public static IndexPointer ( IndexPointerType type, int stride, int offset ) : void
type IndexPointerType
stride int
offset int
return void

Light() public static method

public static Light ( LightName name, LightParameter pname, Color4 @params ) : void
name LightName
pname LightParameter
@params Color4
return void

Light() public static method

public static Light ( LightName name, LightParameter pname, System.Vector4 @params ) : void
name LightName
pname LightParameter
@params System.Vector4
return void

LoadMatrix() public static method

public static LoadMatrix ( Matrix4 &mat ) : void
mat Matrix4
return void

LoadMatrix() public static method

public static LoadMatrix ( System.Matrix4d &mat ) : void
mat System.Matrix4d
return void

LoadTransposeMatrix() public static method

public static LoadTransposeMatrix ( Matrix4 &mat ) : void
mat Matrix4
return void

LoadTransposeMatrix() public static method

public static LoadTransposeMatrix ( System.Matrix4d &mat ) : void
mat System.Matrix4d
return void

Material() public static method

public static Material ( MaterialFace face, MaterialParameter pname, Color4 @params ) : void
face MaterialFace
pname MaterialParameter
@params Color4
return void

Material() public static method

public static Material ( MaterialFace face, MaterialParameter pname, System.Vector4 @params ) : void
face MaterialFace
pname MaterialParameter
@params System.Vector4
return void

MultMatrix() public static method

public static MultMatrix ( Matrix4 &mat ) : void
mat Matrix4
return void

MultMatrix() public static method

public static MultMatrix ( System.Matrix4d &mat ) : void
mat System.Matrix4d
return void

MultTransposeMatrix() public static method

public static MultTransposeMatrix ( Matrix4 &mat ) : void
mat Matrix4
return void

MultTransposeMatrix() public static method

public static MultTransposeMatrix ( System.Matrix4d &mat ) : void
mat System.Matrix4d
return void

MultiTexCoord2() public static method

public static MultiTexCoord2 ( TextureUnit target, System.Vector2 &v ) : void
target TextureUnit
v System.Vector2
return void

MultiTexCoord2() public static method

public static MultiTexCoord2 ( TextureUnit target, Vector2d &v ) : void
target TextureUnit
v Vector2d
return void

MultiTexCoord3() public static method

public static MultiTexCoord3 ( TextureUnit target, System.Vector3 &v ) : void
target TextureUnit
v System.Vector3
return void

MultiTexCoord3() public static method

public static MultiTexCoord3 ( TextureUnit target, Vector3d &v ) : void
target TextureUnit
v Vector3d
return void

MultiTexCoord4() public static method

public static MultiTexCoord4 ( TextureUnit target, System.Vector4 &v ) : void
target TextureUnit
v System.Vector4
return void

MultiTexCoord4() public static method

public static MultiTexCoord4 ( TextureUnit target, Vector4d &v ) : void
target TextureUnit
v Vector4d
return void

Normal3() public static method

public static Normal3 ( System.Vector3 normal ) : void
normal System.Vector3
return void

Normal3() public static method

public static Normal3 ( Vector3d normal ) : void
normal Vector3d
return void

NormalPointer() public static method

public static NormalPointer ( NormalPointerType type, int stride, int offset ) : void
type NormalPointerType
stride int
offset int
return void

PointParameter() public static method

Helper function that defines the coordinate origin of the Point Sprite.
public static PointParameter ( PointSpriteCoordOriginParameter param ) : void
param PointSpriteCoordOriginParameter /// A OpenTK.Graphics.OpenGL.GL.PointSpriteCoordOriginParameter token, /// denoting the origin of the Point Sprite. ///
return void

RasterPos2() public static method

public static RasterPos2 ( System.Vector2 pos ) : void
pos System.Vector2
return void

RasterPos2() public static method

public static RasterPos2 ( Vector2d pos ) : void
pos Vector2d
return void

RasterPos3() public static method

public static RasterPos3 ( System.Vector3 pos ) : void
pos System.Vector3
return void

RasterPos3() public static method

public static RasterPos3 ( Vector3d pos ) : void
pos Vector3d
return void

RasterPos4() public static method

public static RasterPos4 ( System.Vector4 pos ) : void
pos System.Vector4
return void

RasterPos4() public static method

public static RasterPos4 ( Vector4d pos ) : void
pos Vector4d
return void

Rect() public static method

public static Rect ( Rectangle rect ) : void
rect Rectangle
return void

Rect() public static method

public static Rect ( RectangleF rect ) : void
rect RectangleF
return void

Rotate() public static method

public static Rotate ( System.Single angle, System.Vector3 axis ) : void
angle System.Single
axis System.Vector3
return void

Rotate() public static method

public static Rotate ( double angle, Vector3d axis ) : void
angle double
axis Vector3d
return void

Scale() public static method

public static Scale ( System.Vector3 scale ) : void
scale System.Vector3
return void

Scale() public static method

public static Scale ( Vector3d scale ) : void
scale Vector3d
return void

ShaderSource() public static method

public static ShaderSource ( Int32 shader, System @string ) : void
shader System.Int32
@string System
return void

TexCoord2() public static method

public static TexCoord2 ( System.Vector2 v ) : void
v System.Vector2
return void

TexCoord2() public static method

public static TexCoord2 ( Vector2d v ) : void
v Vector2d
return void

TexCoord3() public static method

public static TexCoord3 ( System.Vector3 v ) : void
v System.Vector3
return void

TexCoord3() public static method

public static TexCoord3 ( Vector3d v ) : void
v Vector3d
return void

TexCoord4() public static method

public static TexCoord4 ( System.Vector4 v ) : void
v System.Vector4
return void

TexCoord4() public static method

public static TexCoord4 ( Vector4d v ) : void
v Vector4d
return void

TexCoordPointer() public static method

public static TexCoordPointer ( int size, TexCoordPointerType type, int stride, int offset ) : void
size int
type TexCoordPointerType
stride int
offset int
return void

TexEnv() public static method

public static TexEnv ( TextureEnvTarget target, TextureEnvParameter pname, System.Color color ) : void
target TextureEnvTarget
pname TextureEnvParameter
color System.Color
return void

TexEnv() public static method

public static TexEnv ( TextureEnvTarget target, TextureEnvParameter pname, Color4 color ) : void
target TextureEnvTarget
pname TextureEnvParameter
color Color4
return void

Translate() public static method

public static Translate ( System.Vector3 trans ) : void
trans System.Vector3
return void

Translate() public static method

public static Translate ( Vector3d trans ) : void
trans Vector3d
return void

Uniform4() public static method

public static Uniform4 ( int location, Color4 color ) : void
location int
color Color4
return void

Uniform4() public static method

public static Uniform4 ( int location, Quaternion quaternion ) : void
location int
quaternion Quaternion
return void

UniformMatrix2() public static method

public static UniformMatrix2 ( int location, bool transpose, Matrix2 &matrix ) : void
location int
transpose bool
matrix Matrix2
return void

UniformMatrix2() public static method

public static UniformMatrix2 ( int location, bool transpose, Matrix2d &matrix ) : void
location int
transpose bool
matrix Matrix2d
return void

UniformMatrix2x3() public static method

public static UniformMatrix2x3 ( int location, bool transpose, Matrix2x3 &matrix ) : void
location int
transpose bool
matrix Matrix2x3
return void

UniformMatrix2x3() public static method

public static UniformMatrix2x3 ( int location, bool transpose, Matrix2x3d &matrix ) : void
location int
transpose bool
matrix Matrix2x3d
return void

UniformMatrix2x4() public static method

public static UniformMatrix2x4 ( int location, bool transpose, Matrix2x4 &matrix ) : void
location int
transpose bool
matrix Matrix2x4
return void

UniformMatrix2x4() public static method

public static UniformMatrix2x4 ( int location, bool transpose, Matrix2x4d &matrix ) : void
location int
transpose bool
matrix Matrix2x4d
return void

UniformMatrix3() public static method

public static UniformMatrix3 ( int location, bool transpose, Matrix3 &matrix ) : void
location int
transpose bool
matrix Matrix3
return void

UniformMatrix3() public static method

public static UniformMatrix3 ( int location, bool transpose, Matrix3d &matrix ) : void
location int
transpose bool
matrix Matrix3d
return void

UniformMatrix3x2() public static method

public static UniformMatrix3x2 ( int location, bool transpose, Matrix3x2 &matrix ) : void
location int
transpose bool
matrix Matrix3x2
return void

UniformMatrix3x2() public static method

public static UniformMatrix3x2 ( int location, bool transpose, Matrix3x2d &matrix ) : void
location int
transpose bool
matrix Matrix3x2d
return void

UniformMatrix3x4() public static method

public static UniformMatrix3x4 ( int location, bool transpose, Matrix3x4 &matrix ) : void
location int
transpose bool
matrix Matrix3x4
return void

UniformMatrix3x4() public static method

public static UniformMatrix3x4 ( int location, bool transpose, Matrix3x4d &matrix ) : void
location int
transpose bool
matrix Matrix3x4d
return void

UniformMatrix4() public static method

public static UniformMatrix4 ( int location, bool transpose, Matrix4 &matrix ) : void
location int
transpose bool
matrix Matrix4
return void

UniformMatrix4() public static method

public static UniformMatrix4 ( int location, bool transpose, Matrix4d &matrix ) : void
location int
transpose bool
matrix Matrix4d
return void

UniformMatrix4x2() public static method

public static UniformMatrix4x2 ( int location, bool transpose, Matrix4x2 &matrix ) : void
location int
transpose bool
matrix Matrix4x2
return void

UniformMatrix4x2() public static method

public static UniformMatrix4x2 ( int location, bool transpose, Matrix4x2d &matrix ) : void
location int
transpose bool
matrix Matrix4x2d
return void

UniformMatrix4x3() public static method

public static UniformMatrix4x3 ( int location, bool transpose, Matrix4x3 &matrix ) : void
location int
transpose bool
matrix Matrix4x3
return void

UniformMatrix4x3() public static method

public static UniformMatrix4x3 ( int location, bool transpose, Matrix4x3d &matrix ) : void
location int
transpose bool
matrix Matrix4x3d
return void

Vertex2() public static method

public static Vertex2 ( Vector2 v ) : void
v Vector2
return void

Vertex2() public static method

public static Vertex2 ( Vector2d v ) : void
v Vector2d
return void

Vertex3() public static method

public static Vertex3 ( Vector3 v ) : void
v Vector3
return void

Vertex3() public static method

public static Vertex3 ( Vector3d v ) : void
v Vector3d
return void

Vertex4() public static method

public static Vertex4 ( Vector4 v ) : void
v Vector4
return void

Vertex4() public static method

public static Vertex4 ( Vector4d v ) : void
v Vector4d
return void

VertexAttribPointer() public static method

public static VertexAttribPointer ( int index, int size, VertexAttribPointerType type, bool normalized, int stride, int offset ) : void
index int
size int
type VertexAttribPointerType
normalized bool
stride int
offset int
return void

VertexPointer() public static method

public static VertexPointer ( int size, VertexPointerType type, int stride, int offset ) : void
size int
type VertexPointerType
stride int
offset int
return void

Viewport() public static method

public static Viewport ( OpenTK rectangle ) : void
rectangle OpenTK
return void

Viewport() public static method

public static Viewport ( OpenTK location, OpenTK size ) : void
location OpenTK
size OpenTK
return void

Viewport() public static method

public static Viewport ( Point location, Size size ) : void
location Point
size Size
return void

Viewport() public static method

public static Viewport ( Rectangle rectangle ) : void
rectangle Rectangle
return void

Viewport() public static method

public static Viewport ( Size size ) : void
size Size
return void