Upravit

Sdílet prostřednictvím


GL.FramebufferTexture2D Method

Definition

Overloads

FramebufferTexture2D(FramebufferTarget, FramebufferSlot, TextureTarget, Int32, Int32)
FramebufferTexture2D(FramebufferTarget, FramebufferSlot, TextureTarget, UInt32, Int32)
FramebufferTexture2D(All, All, All, Int32, Int32)
Obsolete.
FramebufferTexture2D(All, All, All, UInt32, Int32)
Obsolete.

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

Parameters

attachment
FramebufferSlot
textarget
TextureTarget
texture
Int32
level
Int32
Attributes

Applies to

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

Important

This API is not CLS-compliant.

[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

Parameters

attachment
FramebufferSlot
textarget
TextureTarget
texture
UInt32
level
Int32
Attributes

Applies to

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

Caution

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

Parameters

target
All
attachment
All
textarget
All
texture
Int32
level
Int32
Attributes

Applies to

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

Caution

Use the overload with strongly typed enumerations

Important

This API is not CLS-compliant.

[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

Parameters

target
All
attachment
All
textarget
All
texture
UInt32
level
Int32
Attributes

Applies to