GL.FramebufferTexture2D 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- target
- FramebufferTarget
- 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
参数
- target
- FramebufferTarget
- 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
- 属性