Skip to content

Instantly share code, notes, and snippets.

@dalinaum
Created December 6, 2011 02:09
Show Gist options
  • Save dalinaum/1436369 to your computer and use it in GitHub Desktop.
Save dalinaum/1436369 to your computer and use it in GitHub Desktop.
ProgramFragmentFixedFunction.Builder pfb =
new ProgramFragmentFixedFunction.Builder(rs);
pfb.setVaryingColor(true);
rs.bindProgramFragment(pfb.create());
mScript.set_dsbstate( ProgramStore.BLEND_NONE_DEPTH_NONE( mRS ) );
mScript.set_rstate( ProgramRaster.CULL_NONE( mRS ) );
mScript.set_sampler( Sampler.WRAP_LINEAR( mRS ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment