Home | History | Annotate | Download | only in renderscript

Lines Matching refs:sampler

31  * Sampler object which defines how data is extracted from textures. Samplers
35 public class Sampler extends BaseObj {
57 Sampler(int id, RenderScript rs) {
62 * @return minification setting for the sampler
69 * @return magnification setting for the sampler
76 * @return S wrapping mode for the sampler
83 * @return T wrapping mode for the sampler
90 * @return anisotropy setting for the sampler
97 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
100 * @param rs Context to which the sampler will belong.
102 * @return Sampler
104 public static Sampler CLAMP_NEAREST(RenderScript rs) {
117 * Retrieve a sampler with min and mag set to linear and wrap modes set to
120 * @param rs Context to which the sampler will belong.
122 * @return Sampler
124 public static Sampler CLAMP_LINEAR(RenderScript rs) {
137 * Retrieve a sampler with ag set to linear, min linear mipmap linear, and
140 * @param rs Context to which the sampler will belong.
142 * @return Sampler
144 public static Sampler CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) {
157 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
160 * @param rs Context to which the sampler will belong.
162 * @return Sampler
164 public static Sampler WRAP_NEAREST(RenderScript rs) {
177 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
180 * @param rs Context to which the sampler will belong.
182 * @return Sampler
184 public static Sampler WRAP_LINEAR(RenderScript rs) {
197 * Retrieve a sampler with ag set to linear, min linear mipmap linear, and
200 * @param rs Context to which the sampler will belong.
202 * @return Sampler
204 public static Sampler WRAP_LINEAR_MIP_LINEAR(RenderScript rs) {
284 public Sampler create() {
288 Sampler sampler = new Sampler(id, mRS);
289 sampler.mMin = mMin;
290 sampler.mMag = mMag;
291 sampler.mWrapS = mWrapS;
292 sampler.mWrapT = mWrapT;
293 sampler.mWrapR = mWrapR;
294 sampler.mAniso = mAniso;
295 return sampler;