FileDocCategorySizeDatePackage
ProgramVertex.javaAPI DocAndroid 5.1 API5738Thu Mar 12 22:22:42 GMT 2015android.renderscript

ProgramVertex

public class ProgramVertex extends Program
hide
deprecated
in API 16 ProgramVertex, also know as a vertex shader, describes a stage in the graphics pipeline responsible for manipulating geometric data in a user-defined way.

Fields Summary
Constructors Summary
ProgramVertex(long id, RenderScript rs)

        super(id, rs);
    
Methods Summary
public ElementgetInput(int slot)

deprecated
in API 16
param
slot location of the input to return
return
input attribute element

        if (slot < 0 || slot >= mInputs.length) {
            throw new IllegalArgumentException("Slot ID out of range.");
        }
        return mInputs[slot];
    
public intgetInputCount()

deprecated
in API 16
return
number of input attribute elements

        return mInputs != null ? mInputs.length : 0;