共用方式為


GL.Ext.DiscardFramebuffer 方法

定義

多載

DiscardFramebuffer(All, Int32, All[])

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glDiscardFramebufferEXT", Version="2.0")]
public static void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, int numAttachments, OpenTK.Graphics.ES20.All[] attachments);
static member DiscardFramebuffer : OpenTK.Graphics.ES20.All * int * OpenTK.Graphics.ES20.All[] -> unit

參數

target
All
numAttachments
Int32
attachments
All[]
屬性

適用於

DiscardFramebuffer(All, Int32, All)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glDiscardFramebufferEXT", Version="2.0")]
public static void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, int numAttachments, ref OpenTK.Graphics.ES20.All attachments);
static member DiscardFramebuffer : OpenTK.Graphics.ES20.All * int *  -> unit

參數

target
All
numAttachments
Int32
attachments
All
屬性

適用於

DiscardFramebuffer(All, Int32, All*)

重要

此 API 不符合 CLS 規範。

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glDiscardFramebufferEXT", Version="2.0")]
[System.CLSCompliant(false)]
public static void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, int numAttachments, OpenTK.Graphics.ES20.All* attachments);
static member DiscardFramebuffer : OpenTK.Graphics.ES20.All * int * nativeptr<OpenTK.Graphics.ES20.All> -> unit

參數

target
All
numAttachments
Int32
attachments
All*
屬性

適用於