public static class ProgramFragment.Builder extends Program.BaseProgramBuilder
Constructor and Description |
---|
ProgramFragment.Builder(RenderScript rs)
Deprecated.
in API 16
Create a builder object.
|
Modifier and Type | Method and Description |
---|---|
ProgramFragment |
create()
Deprecated.
in API 16
Creates ProgramFragment from the current state of the builder
|
addConstant, addTexture, addTexture, getCurrentConstantIndex, getCurrentTextureIndex, initProgram, setShader, setShader
public ProgramFragment.Builder(RenderScript rs)
rs
- Context to which the program will belong.public ProgramFragment create()