FileDocCategorySizeDatePackage
ScriptIntrinsicLUTThunker.javaAPI DocAndroid 5.1 API3139Thu Mar 12 22:22:56 GMT 2015android.support.v8.renderscript

ScriptIntrinsicLUTThunker

public class ScriptIntrinsicLUTThunker extends ScriptIntrinsicLUT

Fields Summary
android.renderscript.ScriptIntrinsicLUT
mN
Constructors Summary
private ScriptIntrinsicLUTThunker(int id, RenderScript rs)

        super(id, rs);
    
Methods Summary
public static android.support.v8.renderscript.ScriptIntrinsicLUTThunkercreate(RenderScript rs, Element e)

        RenderScriptThunker rst = (RenderScriptThunker) rs;
        ElementThunker et = (ElementThunker) e;

        ScriptIntrinsicLUTThunker si = new ScriptIntrinsicLUTThunker(0, rs);
        try {
            si.mN = android.renderscript.ScriptIntrinsicLUT.create(rst.mN, et.getNObj());
        } catch (android.renderscript.RSRuntimeException exc) {
            throw ExceptionThunker.convertException(exc);
        }
        return si;
    
public voidforEach(Allocation ain, Allocation aout)

        AllocationThunker aint = (AllocationThunker)ain;
        AllocationThunker aoutt = (AllocationThunker)aout;
        try {
            mN.forEach(aint.getNObj(), aoutt.getNObj());
        } catch (android.renderscript.RSRuntimeException e) {
            throw ExceptionThunker.convertException(e);
        }
    
public Script.KernelIDgetKernelID()

        Script.KernelID k = createKernelID(0, 3, null, null);
        try {
            k.mN = mN.getKernelID();
        } catch (android.renderscript.RSRuntimeException e) {
            throw ExceptionThunker.convertException(e);
        }
        return k;
    
android.renderscript.ScriptIntrinsicLUTgetNObj()

        return mN;
    
public voidsetAlpha(int index, int value)

        try {
            mN.setAlpha(index, value);
        } catch (android.renderscript.RSRuntimeException e) {
            throw ExceptionThunker.convertException(e);
        }
    
public voidsetBlue(int index, int value)

        try {
            mN.setBlue(index, value);
        } catch (android.renderscript.RSRuntimeException e) {
            throw ExceptionThunker.convertException(e);
        }
    
public voidsetGreen(int index, int value)

        try {
            mN.setGreen(index, value);
        } catch (android.renderscript.RSRuntimeException e) {
            throw ExceptionThunker.convertException(e);
        }
    
public voidsetRed(int index, int value)

        try {
            mN.setRed(index, value);
        } catch (android.renderscript.RSRuntimeException e) {
            throw ExceptionThunker.convertException(e);
        }