GL.BindBuffer 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 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
- 屬性