Język

GLES30.GlBindSampler(Int32, Int32) Method

Definition

Selects the sampler state used by a texture image unit.

[Android.Runtime.Register("glBindSampler", "(II)V", "")]
public static void GlBindSampler(int unit, int sampler);
[<Android.Runtime.Register("glBindSampler", "(II)V", "")>]
static member GlBindSampler : int * int -> unit

Parameters

unit
Int32

The zero-based texture-image-unit index, not a GL_TEXTURE0-based token.

sampler
Int32

The sampler-object name, or zero to use the texture object's sampler state.

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