GL.BindTexture 方法

定义

重载

BindTexture(TextureTarget, UInt32)
BindTexture(TextureTarget, Int32)
BindTexture(All, Int32)
已过时.
BindTexture(All, UInt32)
已过时.

BindTexture(TextureTarget, UInt32)

重要

此 API 不符合 CLS。

[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

参数

target
TextureTarget
texture
UInt32
属性

适用于

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

参数

target
TextureTarget
texture
Int32
属性

适用于

BindTexture(All, Int32)

注意

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

参数

target
All
texture
Int32
属性

适用于

BindTexture(All, UInt32)

注意

Use the overload with strongly typed enumerations

重要

此 API 不符合 CLS。

[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

参数

target
All
texture
UInt32
属性

适用于