共用方式為


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
屬性

適用於