次の方法で共有


Program.BindSampler(Sampler, Int32) Method

Definition

Binds an object that describes how a texture at the corresponding location is sampled

[Android.Runtime.Register("bindSampler", "(Landroid/renderscript/Sampler;I)V", "GetBindSampler_Landroid_renderscript_Sampler_IHandler")]
public virtual void BindSampler (Android.Renderscripts.Sampler? vs, int slot);
[<Android.Runtime.Register("bindSampler", "(Landroid/renderscript/Sampler;I)V", "GetBindSampler_Landroid_renderscript_Sampler_IHandler")>]
abstract member BindSampler : Android.Renderscripts.Sampler * int -> unit
override this.BindSampler : Android.Renderscripts.Sampler * int -> unit

Parameters

vs
Sampler

sampler for a corresponding texture

slot
Int32

index within the program's list of textures to use the sampler on

Attributes

Remarks

Binds an object that describes how a texture at the corresponding location is sampled

Java documentation for android.renderscript.Program.bindSampler(android.renderscript.Sampler, int).

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