Edit

Share via


GL.BindTexture Method

Definition

Overloads

BindTexture(TextureTarget, UInt32)
BindTexture(TextureTarget, Int32)
BindTexture(All, Int32)
Obsolete.
BindTexture(All, UInt32)
Obsolete.

BindTexture(TextureTarget, UInt32)

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBindTexture", Version="2.0")]
[System.CLSCompliant(false)]
public static void BindTexture (OpenTK.Graphics.ES20.TextureTarget target, uint texture);
static member BindTexture : OpenTK.Graphics.ES20.TextureTarget * uint32 -> unit

Parameters

target
TextureTarget
texture
UInt32
Attributes

Applies to

BindTexture(TextureTarget, Int32)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBindTexture", Version="2.0")]
public static void BindTexture (OpenTK.Graphics.ES20.TextureTarget target, int texture);
static member BindTexture : OpenTK.Graphics.ES20.TextureTarget * int -> unit

Parameters

target
TextureTarget
texture
Int32
Attributes

Applies to

BindTexture(All, Int32)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBindTexture", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void BindTexture (OpenTK.Graphics.ES20.All target, int texture);
static member BindTexture : OpenTK.Graphics.ES20.All * int -> unit

Parameters

target
All
texture
Int32
Attributes

Applies to

BindTexture(All, UInt32)

Caution

Use the overload with strongly typed enumerations

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBindTexture", Version="2.0")]
[System.CLSCompliant(false)]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void BindTexture (OpenTK.Graphics.ES20.All target, uint texture);
static member BindTexture : OpenTK.Graphics.ES20.All * uint32 -> unit

Parameters

target
All
texture
UInt32
Attributes

Applies to