android.renderscript
Class Program.BaseProgramBuilder
java.lang.Object
android.renderscript.Program.BaseProgramBuilder
- Direct Known Subclasses:
- ProgramFragment.Builder, ProgramVertex.Builder
- Enclosing class:
- Program
public static class Program.BaseProgramBuilder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Program.BaseProgramBuilder
protected Program.BaseProgramBuilder(RenderScript rs)
setShader
public Program.BaseProgramBuilder setShader(String s)
setShader
public Program.BaseProgramBuilder setShader(Resources resources,
int resourceID)
getCurrentConstantIndex
public int getCurrentConstantIndex()
getCurrentTextureIndex
public int getCurrentTextureIndex()
addConstant
public Program.BaseProgramBuilder addConstant(Type t)
throws IllegalStateException
- Throws:
IllegalStateException
addTexture
public Program.BaseProgramBuilder addTexture(Program.TextureType texType)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
initProgram
protected void initProgram(Program p)
Copyright © 2008-2012. All Rights Reserved.