Język

GLES31.GlBindImageTexture Method

Definition

Binds a texture level or layer to an image unit for shader image access.

[Android.Runtime.Register("glBindImageTexture", "(IIIZIII)V", "")]
public static void GlBindImageTexture(int unit, int texture, int level, bool layered, int layer, int access, int format);
[<Android.Runtime.Register("glBindImageTexture", "(IIIZIII)V", "")>]
static member GlBindImageTexture : int * int * int * bool * int * int * int -> unit

Parameters

unit
Int32

The zero-based image-unit index, less than GL_MAX_IMAGE_UNITS.

texture
Int32

The texture-object name to bind, or zero to unbind the image unit.

level
Int32

The texture mipmap level used by the image binding.

layered
Boolean

True to bind the full layered level; false to select one layer.

layer
Int32

The layer selected when layered is false and the texture has layers.

access
Int32

The read-only, write-only, or read-write image-access token.

format
Int32

A compatible image-format token used to interpret formatted image loads and stores.

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