FileDocCategorySizeDatePackage
RsRenderStates.javaAPI DocAndroid 5.1 API1550Thu Mar 12 22:22:44 GMT 2015com.example.android.rs.miscsamples

RsRenderStates

public class RsRenderStates extends android.app.Activity

Fields Summary
private RsRenderStatesView
mView
Constructors Summary
Methods Summary
public voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);

        // Create our Preview view and set it as the content of our
        // Activity
        mView = new RsRenderStatesView(this);
        setContentView(mView);
    
protected voidonPause()

        // Ideally a game should implement onResume() and onPause()
        // to take appropriate action when the activity looses focus
        super.onPause();
        mView.pause();
    
protected voidonResume()

        // Ideally a game should implement onResume() and onPause()
        // to take appropriate action when the activity looses focus
        super.onResume();
        mView.resume();