FileDocCategorySizeDatePackage
HelloWorldRS.javaAPI DocAndroid 5.1 API1460Thu Mar 12 22:22:44 GMT 2015com.example.android.rs.helloworld

HelloWorldRS

public class HelloWorldRS extends Object

Fields Summary
private android.content.res.Resources
mRes
private RenderScriptGL
mRS
private ScriptC_helloworld
mScript
Constructors Summary
public HelloWorldRS()

    
Methods Summary
public voidinit(RenderScriptGL rs, android.content.res.Resources res)

        mRS = rs;
        mRes = res;
        initRS();
    
private voidinitRS()

        mScript = new ScriptC_helloworld(mRS, mRes, R.raw.helloworld);
        mRS.bindRootScript(mScript);
    
public voidonActionDown(int x, int y)

        mScript.set_gTouchX(x);
        mScript.set_gTouchY(y);