Android.Renderscripts.Sampler Class
Sampler object that defines how Allocations can be read as textures within a kernel.

See Also: Sampler Members

Syntax

[Android.Runtime.Register("android/renderscript/Sampler", DoNotGenerateAcw=true)]
public class Sampler : BaseObj

Remarks

Sampler object that defines how Allocations can be read as textures within a kernel. Samplers are used in conjunction with the rsSample runtime function to return values from normalized coordinates. Any Allocation used with a Sampler must have been created with Allocation.USAGE_GRAPHICS_TEXTURE; using a Sampler on an Android.Renderscripts.Allocation that was not created with Allocation.USAGE_GRAPHICS_TEXTURE is undefined.

[Android Documentation]

Requirements

Namespace: Android.Renderscripts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11