Lingua

GLES20.GlFramebufferTexture2D(Int32, Int32, Int32, Int32, Int32) Metodo

Definizione

Collega o scollega un'immagine trama sul framebuffer non predefinito associato.

[Android.Runtime.Register("glFramebufferTexture2D", "(IIIII)V", "")]
public static void GlFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level);
[<Android.Runtime.Register("glFramebufferTexture2D", "(IIIII)V", "")>]
static member GlFramebufferTexture2D : int * int * int * int * int -> unit

Parametri

target
Int32

GL_FRAMEBUFFER.

attachment
Int32

GL_COLOR_ATTACHMENT0, GL_DEPTH_ATTACHMENT o GL_STENCIL_ATTACHMENT.

textarget
Int32

GL_TEXTURE_2D o uno dei sei token del viso GL_TEXTURE_CUBE_MAP.

texture
Int32

Modello di bit con nome trama senza segno; zero rimuove l'allegato.

level
Int32

Zero per il contratto Core OpenGL ES 2.0 framebuffer.

Attributi

Commenti

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a