共用方式為


GL.BindTexture 方法

定義

多載

BindTexture(TextureTarget, Int32)
BindTexture(TextureTarget, UInt32)

BindTexture(TextureTarget, Int32)

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

參數

target
TextureTarget
texture
Int32
屬性

適用於

BindTexture(TextureTarget, UInt32)

重要

此 API 不符合 CLS 規範。

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

參數

target
TextureTarget
texture
UInt32
屬性

適用於