Język

GLES32.GlFramebufferTexture(Int32, Int32, Int32, Int32) Method

Definition

Attaches a texture mipmap level to a framebuffer, using all layers for layered textures.

[Android.Runtime.Register("glFramebufferTexture", "(IIII)V", "", ApiSince=24)]
public static void GlFramebufferTexture(int target, int attachment, int texture, int level);
[<Android.Runtime.Register("glFramebufferTexture", "(IIII)V", "", ApiSince=24)>]
static member GlFramebufferTexture : int * int * int * int -> unit

Parameters

target
Int32

The read or draw framebuffer target; GL_FRAMEBUFFER selects the draw framebuffer.

attachment
Int32

The color, depth, stencil, or combined depth-stencil attachment point.

texture
Int32

The texture-object name to attach, or zero to detach the current image.

level
Int32

The texture mipmap level to attach; multisample textures require level zero.

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