GL.BindBuffer 方法

定义

重载

BindBuffer(BufferTarget, Int32)
BindBuffer(BufferTarget, UInt32)
BindBuffer(All, Int32)
已过时.
BindBuffer(All, UInt32)
已过时.

BindBuffer(BufferTarget, Int32)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBindBuffer", Version="2.0")]
public static void BindBuffer (OpenTK.Graphics.ES20.BufferTarget target, int buffer);
static member BindBuffer : OpenTK.Graphics.ES20.BufferTarget * int -> unit

参数

target
BufferTarget
buffer
Int32
属性

适用于

BindBuffer(BufferTarget, UInt32)

重要

此 API 不符合 CLS。

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

参数

target
BufferTarget
buffer
UInt32
属性

适用于

BindBuffer(All, Int32)

注意

Use the overload with strongly typed enumerations

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

参数

target
All
buffer
Int32
属性

适用于

BindBuffer(All, UInt32)

注意

Use the overload with strongly typed enumerations

重要

此 API 不符合 CLS。

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

参数

target
All
buffer
UInt32
属性

适用于