| java.lang.Object | ||
| ↳ | android.support.v8.renderscript.BaseObj | |
| ↳ | android.support.v8.renderscript.Sampler | |
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 USAGE_GRAPHICS_TEXTURE; using a
 Sampler on an Allocation that was not
 created with
 USAGE_GRAPHICS_TEXTURE is
 undefined.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Sampler.Builder | Builder for creating non-standard samplers. | ||||||||||
| Sampler.Value | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve a sampler with min and mag set to linear and wrap modes set to
 clamp. 
  
   | |||||||||||
Retrieve a sampler with mag set to linear, min linear mipmap linear, and
 wrap modes set to clamp. 
  
   | |||||||||||
Retrieve a sampler with min and mag set to nearest and wrap modes set to
 clamp. 
  
   | |||||||||||
Retrieve a sampler with min and mag set to linear and wrap modes set to
 mirrored repeat. 
  
   | |||||||||||
Retrieve a sampler with min and mag set to nearest and wrap modes set to
 mirrored repeat. 
  
   | |||||||||||
Retrieve a sampler with min and mag set to linear and wrap modes set to
 wrap. 
  
   | |||||||||||
Retrieve a sampler with mag set to linear, min linear mipmap linear, and
 wrap modes set to wrap. 
  
   | |||||||||||
Retrieve a sampler with min and mag set to nearest and wrap modes set to
 wrap. 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  android.support.v8.renderscript.BaseObj
 | |||||||||||
   
From class
  java.lang.Object
 | |||||||||||
Retrieve a sampler with min and mag set to linear and wrap modes set to clamp.
| rs | Context to which the sampler will belong. | 
|---|
Retrieve a sampler with mag set to linear, min linear mipmap linear, and wrap modes set to clamp.
| rs | Context to which the sampler will belong. | 
|---|
Retrieve a sampler with min and mag set to nearest and wrap modes set to clamp.
| rs | Context to which the sampler will belong. | 
|---|
Retrieve a sampler with min and mag set to linear and wrap modes set to mirrored repeat.
| rs | Context to which the sampler will belong. | 
|---|
Retrieve a sampler with min and mag set to nearest and wrap modes set to mirrored repeat.
| rs | Context to which the sampler will belong. | 
|---|
Retrieve a sampler with min and mag set to linear and wrap modes set to wrap.
| rs | Context to which the sampler will belong. | 
|---|
Retrieve a sampler with mag set to linear, min linear mipmap linear, and wrap modes set to wrap.
| rs | Context to which the sampler will belong. | 
|---|
Retrieve a sampler with min and mag set to nearest and wrap modes set to wrap.
| rs | Context to which the sampler will belong. | 
|---|