FileDocCategorySizeDatePackage
TextureParam.javaAPI DocAndroid 5.1 API1673Thu Mar 12 22:22:44 GMT 2015com.android.scenegraph

TextureParam

public class TextureParam extends ShaderParam
hide

Fields Summary
TextureBase
mTexture
Constructors Summary
public TextureParam(String name)

        super(name);
    
public TextureParam(String name, TextureBase t)

        super(name);
        setTexture(t);
    
Methods Summary
public TextureBasegetTexture()

        return mTexture;
    
voidinitLocalData()

        mData.type = ScriptC_export.const_ShaderParam_TEXTURE;
        if (mTexture != null) {
            mData.texture = mTexture.getRsData(false).getAllocation();
        }
    
public voidsetTexture(TextureBase t)

        mTexture = t;