public static class Program.BaseProgramBuilder extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Program.BaseProgramBuilder(RenderScript rs) |
| Modifier and Type | Method and Description |
|---|---|
Program.BaseProgramBuilder |
addConstant(Type t) |
Program.BaseProgramBuilder |
addTexture(Program.TextureType texType) |
Program.BaseProgramBuilder |
addTexture(Program.TextureType texType,
String texName) |
int |
getCurrentConstantIndex() |
int |
getCurrentTextureIndex() |
protected void |
initProgram(Program p) |
Program.BaseProgramBuilder |
setShader(Resources resources,
int resourceID) |
Program.BaseProgramBuilder |
setShader(String s) |
protected Program.BaseProgramBuilder(RenderScript rs)
public Program.BaseProgramBuilder setShader(String s)
public Program.BaseProgramBuilder setShader(Resources resources, int resourceID)
public int getCurrentConstantIndex()
public int getCurrentTextureIndex()
public Program.BaseProgramBuilder addConstant(Type t) throws IllegalStateException
IllegalStateExceptionpublic Program.BaseProgramBuilder addTexture(Program.TextureType texType) throws IllegalArgumentException
IllegalArgumentExceptionpublic Program.BaseProgramBuilder addTexture(Program.TextureType texType, String texName) throws IllegalArgumentException
IllegalArgumentExceptionprotected void initProgram(Program p)
Copyright © 2008-2013. All Rights Reserved.