to top
Android APIs
public static class

ProgramVertex.Builder

extends Program.BaseProgramBuilder
java.lang.Object
   ↳ android.renderscript.Program.BaseProgramBuilder
     ↳ android.renderscript.ProgramVertex.Builder

This class is deprecated.
in API 16 Builder class for creating ProgramVertex objects. The builder starts empty and the user must minimally provide the GLSL shader code, and the varying inputs. Constant, or uniform parameters to the shader may optionally be provided as well.

Summary

Public Constructors
ProgramVertex.Builder(RenderScript rs)
This constructor is deprecated. in API 16 Create a builder object.
Public Methods
ProgramVertex.Builder addInput(Element e)
This method is deprecated. in API 16 Add varying inputs to the program
ProgramVertex create()
This method is deprecated. in API 16 Creates ProgramVertex from the current state of the builder
[Expand]
Inherited Methods
From class android.renderscript.Program.BaseProgramBuilder
From class java.lang.Object

Public Constructors

public ProgramVertex.Builder (RenderScript rs)

Since: API Level 11

This constructor is deprecated.
in API 16 Create a builder object.

Parameters
rs Context to which the program will belong.

Public Methods

public ProgramVertex.Builder addInput (Element e)

Since: API Level 11

This method is deprecated.
in API 16 Add varying inputs to the program

Parameters
e element describing the layout of the varying input structure
Returns
  • self

public ProgramVertex create ()

Since: API Level 11

This method is deprecated.
in API 16 Creates ProgramVertex from the current state of the builder

Returns
  • ProgramVertex