android.renderscript
Class Program

java.lang.Object
  extended by android.renderscript.BaseObj
      extended by android.renderscript.Program
Direct Known Subclasses:
ProgramFragment, ProgramVertex

public class Program
extends BaseObj


Nested Class Summary
static class Program.BaseProgramBuilder
           
static class Program.TextureType
           
 
Method Summary
 void bindConstants(Allocation a, int slot)
           
 void bindSampler(Sampler vs, int slot)
           
 void bindTexture(Allocation va, int slot)
           
 Type getConstant(int slot)
           
 int getConstantCount()
           
 int getTextureCount()
           
 String getTextureName(int slot)
           
 Program.TextureType getTextureType(int slot)
           
 
Methods inherited from class android.renderscript.BaseObj
destroy, equals, finalize, getName, hashCode, setName
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConstantCount

public int getConstantCount()

getConstant

public Type getConstant(int slot)

getTextureCount

public int getTextureCount()

getTextureType

public Program.TextureType getTextureType(int slot)

getTextureName

public String getTextureName(int slot)

bindConstants

public void bindConstants(Allocation a,
                          int slot)

bindTexture

public void bindTexture(Allocation va,
                        int slot)
                 throws IllegalArgumentException
Throws:
IllegalArgumentException

bindSampler

public void bindSampler(Sampler vs,
                        int slot)
                 throws IllegalArgumentException
Throws:
IllegalArgumentException


Copyright © 2008-2012. All Rights Reserved.