Methods Summary |
---|
public static android.support.v8.renderscript.Sampler | CLAMP_LINEAR(RenderScript rs)Retrieve a sampler with min and mag set to linear and wrap modes set to
clamp.
if(rs.mSampler_CLAMP_LINEAR == null) {
Builder b = new Builder(rs);
b.setMinification(Value.LINEAR);
b.setMagnification(Value.LINEAR);
b.setWrapS(Value.CLAMP);
b.setWrapT(Value.CLAMP);
rs.mSampler_CLAMP_LINEAR = b.create();
}
return rs.mSampler_CLAMP_LINEAR;
|
public static android.support.v8.renderscript.Sampler | CLAMP_LINEAR_MIP_LINEAR(RenderScript rs)Retrieve a sampler with mag set to linear, min linear mipmap linear, and
wrap modes set to clamp.
if(rs.mSampler_CLAMP_LINEAR_MIP_LINEAR == null) {
Builder b = new Builder(rs);
b.setMinification(Value.LINEAR_MIP_LINEAR);
b.setMagnification(Value.LINEAR);
b.setWrapS(Value.CLAMP);
b.setWrapT(Value.CLAMP);
rs.mSampler_CLAMP_LINEAR_MIP_LINEAR = b.create();
}
return rs.mSampler_CLAMP_LINEAR_MIP_LINEAR;
|
public static android.support.v8.renderscript.Sampler | CLAMP_NEAREST(RenderScript rs)Retrieve a sampler with min and mag set to nearest and wrap modes set to
clamp.
if(rs.mSampler_CLAMP_NEAREST == null) {
Builder b = new Builder(rs);
b.setMinification(Value.NEAREST);
b.setMagnification(Value.NEAREST);
b.setWrapS(Value.CLAMP);
b.setWrapT(Value.CLAMP);
rs.mSampler_CLAMP_NEAREST = b.create();
}
return rs.mSampler_CLAMP_NEAREST;
|
public static android.support.v8.renderscript.Sampler | MIRRORED_REPEAT_LINEAR(RenderScript rs)Retrieve a sampler with min and mag set to linear and wrap modes set to
mirrored repeat.
if(rs.mSampler_MIRRORED_REPEAT_LINEAR == null) {
Builder b = new Builder(rs);
b.setMinification(Value.LINEAR);
b.setMagnification(Value.LINEAR);
b.setWrapS(Value.MIRRORED_REPEAT);
b.setWrapT(Value.MIRRORED_REPEAT);
rs.mSampler_MIRRORED_REPEAT_LINEAR = b.create();
}
return rs.mSampler_MIRRORED_REPEAT_LINEAR;
|
public static android.support.v8.renderscript.Sampler | MIRRORED_REPEAT_NEAREST(RenderScript rs)Retrieve a sampler with min and mag set to nearest and wrap modes set to
mirrored repeat.
if(rs.mSampler_MIRRORED_REPEAT_NEAREST == null) {
Builder b = new Builder(rs);
b.setMinification(Value.NEAREST);
b.setMagnification(Value.NEAREST);
b.setWrapS(Value.MIRRORED_REPEAT);
b.setWrapT(Value.MIRRORED_REPEAT);
rs.mSampler_MIRRORED_REPEAT_NEAREST = b.create();
}
return rs.mSampler_MIRRORED_REPEAT_NEAREST;
|
public static android.support.v8.renderscript.Sampler | WRAP_LINEAR(RenderScript rs)Retrieve a sampler with min and mag set to linear and wrap modes set to
wrap.
if(rs.mSampler_WRAP_LINEAR == null) {
Builder b = new Builder(rs);
b.setMinification(Value.LINEAR);
b.setMagnification(Value.LINEAR);
b.setWrapS(Value.WRAP);
b.setWrapT(Value.WRAP);
rs.mSampler_WRAP_LINEAR = b.create();
}
return rs.mSampler_WRAP_LINEAR;
|
public static android.support.v8.renderscript.Sampler | WRAP_LINEAR_MIP_LINEAR(RenderScript rs)Retrieve a sampler with mag set to linear, min linear mipmap linear, and
wrap modes set to wrap.
if(rs.mSampler_WRAP_LINEAR_MIP_LINEAR == null) {
Builder b = new Builder(rs);
b.setMinification(Value.LINEAR_MIP_LINEAR);
b.setMagnification(Value.LINEAR);
b.setWrapS(Value.WRAP);
b.setWrapT(Value.WRAP);
rs.mSampler_WRAP_LINEAR_MIP_LINEAR = b.create();
}
return rs.mSampler_WRAP_LINEAR_MIP_LINEAR;
|
public static android.support.v8.renderscript.Sampler | WRAP_NEAREST(RenderScript rs)Retrieve a sampler with min and mag set to nearest and wrap modes set to
wrap.
if(rs.mSampler_WRAP_NEAREST == null) {
Builder b = new Builder(rs);
b.setMinification(Value.NEAREST);
b.setMagnification(Value.NEAREST);
b.setWrapS(Value.WRAP);
b.setWrapT(Value.WRAP);
rs.mSampler_WRAP_NEAREST = b.create();
}
return rs.mSampler_WRAP_NEAREST;
|
public float | getAnisotropy()
return mAniso;
|
public android.support.v8.renderscript.Sampler$Value | getMagnification()
return mMag;
|
public android.support.v8.renderscript.Sampler$Value | getMinification()
return mMin;
|
public android.support.v8.renderscript.Sampler$Value | getWrapS()
return mWrapS;
|
public android.support.v8.renderscript.Sampler$Value | getWrapT()
return mWrapT;
|