public static class ProgramVertex.Builder extends Program.BaseProgramBuilder
Constructor and Description |
---|
ProgramVertex.Builder(RenderScript rs)
Deprecated.
in API 16
Create a builder object.
|
Modifier and Type | Method and Description |
---|---|
ProgramVertex.Builder |
addInput(Element e)
Deprecated.
in API 16
Add varying inputs to the program
|
ProgramVertex |
create()
Deprecated.
in API 16
Creates ProgramVertex from the current state of the builder
|
addConstant, addTexture, addTexture, getCurrentConstantIndex, getCurrentTextureIndex, initProgram, setShader, setShader
public ProgramVertex.Builder(RenderScript rs)
rs
- Context to which the program will belong.public ProgramVertex.Builder addInput(Element e) throws IllegalStateException
e
- element describing the layout of the varying input
structureIllegalStateException
public ProgramVertex create()