共用方式為


GL.FramebufferTexture2D 方法

定義

多載

FramebufferTexture2D(FramebufferTarget, FramebufferSlot, TextureTarget, Int32, Int32)
FramebufferTexture2D(FramebufferTarget, FramebufferSlot, TextureTarget, UInt32, Int32)
FramebufferTexture2D(All, All, All, Int32, Int32)
已淘汰.
FramebufferTexture2D(All, All, All, UInt32, Int32)
已淘汰.

FramebufferTexture2D(FramebufferTarget, FramebufferSlot, TextureTarget, Int32, Int32)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glFramebufferTexture2D", Version="2.0")]
public static void FramebufferTexture2D (OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, int texture, int level);
static member FramebufferTexture2D : OpenTK.Graphics.ES20.FramebufferTarget * OpenTK.Graphics.ES20.FramebufferSlot * OpenTK.Graphics.ES20.TextureTarget * int * int -> unit

參數

attachment
FramebufferSlot
textarget
TextureTarget
texture
Int32
level
Int32
屬性

適用於

FramebufferTexture2D(FramebufferTarget, FramebufferSlot, TextureTarget, UInt32, Int32)

重要

此 API 不符合 CLS 規範。

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glFramebufferTexture2D", Version="2.0")]
[System.CLSCompliant(false)]
public static void FramebufferTexture2D (OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, uint texture, int level);
static member FramebufferTexture2D : OpenTK.Graphics.ES20.FramebufferTarget * OpenTK.Graphics.ES20.FramebufferSlot * OpenTK.Graphics.ES20.TextureTarget * uint32 * int -> unit

參數

attachment
FramebufferSlot
textarget
TextureTarget
texture
UInt32
level
Int32
屬性

適用於

FramebufferTexture2D(All, All, All, Int32, Int32)

警告

Use the overload with strongly typed enumerations

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

參數

target
All
attachment
All
textarget
All
texture
Int32
level
Int32
屬性

適用於

FramebufferTexture2D(All, All, All, UInt32, Int32)

警告

Use the overload with strongly typed enumerations

重要

此 API 不符合 CLS 規範。

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

參數

target
All
attachment
All
textarget
All
texture
UInt32
level
Int32
屬性

適用於