Język

GLES20.GlFramebufferTexture2D(Int32, Int32, Int32, Int32, Int32) Method

Definition

Attaches or detaches a texture image on the bound nondefault framebuffer.

[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

Parameters

target
Int32

GL_FRAMEBUFFER.

attachment
Int32

GL_COLOR_ATTACHMENT0, GL_DEPTH_ATTACHMENT, or GL_STENCIL_ATTACHMENT.

textarget
Int32

GL_TEXTURE_2D or one of the six GL_TEXTURE_CUBE_MAP face tokens.

texture
Int32

The unsigned texture-name bit pattern; zero removes the attachment.

level
Int32

Zero for the core OpenGL ES 2.0 framebuffer contract.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to