Edit

Share via


GL.DrawElements Method

Definition

Overloads

DrawElements(BeginMode, Int32, DrawElementsType, IntPtr)
DrawElements(BeginMode, Int32, DrawElementsType, Int32)
DrawElements(All, Int32, All, IntPtr)
Obsolete.
DrawElements<T3>(BeginMode, Int32, DrawElementsType, T3[,,])
DrawElements<T3>(BeginMode, Int32, DrawElementsType, T3[,])
DrawElements<T3>(BeginMode, Int32, DrawElementsType, T3[])
DrawElements<T3>(BeginMode, Int32, DrawElementsType, T3)
DrawElements<T3>(All, Int32, All, T3)
Obsolete.
DrawElements<T3>(All, Int32, All, T3[,])
Obsolete.
DrawElements<T3>(All, Int32, All, T3[,,])
Obsolete.
DrawElements<T3>(All, Int32, All, T3[])
Obsolete.

DrawElements(BeginMode, Int32, DrawElementsType, IntPtr)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glDrawElements", Version="2.0")]
public static void DrawElements (OpenTK.Graphics.ES20.BeginMode mode, int count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices);
static member DrawElements : OpenTK.Graphics.ES20.BeginMode * int * OpenTK.Graphics.ES20.DrawElementsType * nativeint -> unit

Parameters

mode
BeginMode
count
Int32
indices
IntPtr

nativeint

Attributes

Applies to

DrawElements(BeginMode, Int32, DrawElementsType, Int32)

public static void DrawElements (OpenTK.Graphics.ES20.BeginMode mode, int count, OpenTK.Graphics.ES20.DrawElementsType type, int offset);
static member DrawElements : OpenTK.Graphics.ES20.BeginMode * int * OpenTK.Graphics.ES20.DrawElementsType * int -> unit

Parameters

mode
BeginMode
count
Int32
offset
Int32

Applies to

DrawElements(All, Int32, All, IntPtr)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glDrawElements", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void DrawElements (OpenTK.Graphics.ES20.All mode, int count, OpenTK.Graphics.ES20.All type, IntPtr indices);
static member DrawElements : OpenTK.Graphics.ES20.All * int * OpenTK.Graphics.ES20.All * nativeint -> unit

Parameters

mode
All
count
Int32
type
All
indices
IntPtr

nativeint

Attributes

Applies to

DrawElements<T3>(BeginMode, Int32, DrawElementsType, T3[,,])

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glDrawElements", Version="2.0")]
public static void DrawElements<T3> (OpenTK.Graphics.ES20.BeginMode mode, int count, OpenTK.Graphics.ES20.DrawElementsType type, T3[,,] indices) where T3 : struct;
static member DrawElements : OpenTK.Graphics.ES20.BeginMode * int * OpenTK.Graphics.ES20.DrawElementsType * 'T3[,,] -> unit (requires 'T3 : struct)

Type Parameters

T3

Parameters

mode
BeginMode
count
Int32
indices
T3[,,]
Attributes

Applies to

DrawElements<T3>(BeginMode, Int32, DrawElementsType, T3[,])

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glDrawElements", Version="2.0")]
public static void DrawElements<T3> (OpenTK.Graphics.ES20.BeginMode mode, int count, OpenTK.Graphics.ES20.DrawElementsType type, T3[,] indices) where T3 : struct;
static member DrawElements : OpenTK.Graphics.ES20.BeginMode * int * OpenTK.Graphics.ES20.DrawElementsType * 'T3[,] -> unit (requires 'T3 : struct)

Type Parameters

T3

Parameters

mode
BeginMode
count
Int32
indices
T3[,]
Attributes

Applies to

DrawElements<T3>(BeginMode, Int32, DrawElementsType, T3[])

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glDrawElements", Version="2.0")]
public static void DrawElements<T3> (OpenTK.Graphics.ES20.BeginMode mode, int count, OpenTK.Graphics.ES20.DrawElementsType type, T3[] indices) where T3 : struct;
static member DrawElements : OpenTK.Graphics.ES20.BeginMode * int * OpenTK.Graphics.ES20.DrawElementsType * 'T3[] -> unit (requires 'T3 : struct)

Type Parameters

T3

Parameters

mode
BeginMode
count
Int32
indices
T3[]
Attributes

Applies to

DrawElements<T3>(BeginMode, Int32, DrawElementsType, T3)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glDrawElements", Version="2.0")]
public static void DrawElements<T3> (OpenTK.Graphics.ES20.BeginMode mode, int count, OpenTK.Graphics.ES20.DrawElementsType type, out T3 indices) where T3 : struct;
static member DrawElements : OpenTK.Graphics.ES20.BeginMode * int * OpenTK.Graphics.ES20.DrawElementsType *  -> unit (requires 'T3 : struct)

Type Parameters

T3

Parameters

mode
BeginMode
count
Int32
indices
T3
Attributes

Applies to

DrawElements<T3>(All, Int32, All, T3)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glDrawElements", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void DrawElements<T3> (OpenTK.Graphics.ES20.All mode, int count, OpenTK.Graphics.ES20.All type, out T3 indices) where T3 : struct;
static member DrawElements : OpenTK.Graphics.ES20.All * int * OpenTK.Graphics.ES20.All *  -> unit (requires 'T3 : struct)

Type Parameters

T3

Parameters

mode
All
count
Int32
type
All
indices
T3
Attributes

Applies to

DrawElements<T3>(All, Int32, All, T3[,])

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glDrawElements", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void DrawElements<T3> (OpenTK.Graphics.ES20.All mode, int count, OpenTK.Graphics.ES20.All type, T3[,] indices) where T3 : struct;
static member DrawElements : OpenTK.Graphics.ES20.All * int * OpenTK.Graphics.ES20.All * 'T3[,] -> unit (requires 'T3 : struct)

Type Parameters

T3

Parameters

mode
All
count
Int32
type
All
indices
T3[,]
Attributes

Applies to

DrawElements<T3>(All, Int32, All, T3[,,])

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glDrawElements", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void DrawElements<T3> (OpenTK.Graphics.ES20.All mode, int count, OpenTK.Graphics.ES20.All type, T3[,,] indices) where T3 : struct;
static member DrawElements : OpenTK.Graphics.ES20.All * int * OpenTK.Graphics.ES20.All * 'T3[,,] -> unit (requires 'T3 : struct)

Type Parameters

T3

Parameters

mode
All
count
Int32
type
All
indices
T3[,,]
Attributes

Applies to

DrawElements<T3>(All, Int32, All, T3[])

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glDrawElements", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void DrawElements<T3> (OpenTK.Graphics.ES20.All mode, int count, OpenTK.Graphics.ES20.All type, T3[] indices) where T3 : struct;
static member DrawElements : OpenTK.Graphics.ES20.All * int * OpenTK.Graphics.ES20.All * 'T3[] -> unit (requires 'T3 : struct)

Type Parameters

T3

Parameters

mode
All
count
Int32
type
All
indices
T3[]
Attributes

Applies to