to top
Android APIs
Added in API level 11
Deprecated since API level 16
public static class

ProgramVertex.Builder

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

This class was deprecated in API level 16.
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 was deprecated in API level 16. in API 16 Create a builder object.
Public Methods
ProgramVertex.Builder addInput(Element e)
This method was deprecated in API level 16. in API 16 Add varying inputs to the program
ProgramVertex create()
This method was deprecated in API level 16. 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)

Added in API level 11

This constructor was deprecated in API level 16.
in API 16 Create a builder object.

Parameters
rs Context to which the program will belong.

Public Methods

public ProgramVertex.Builder addInput (Element e)

Added in API level 11

This method was deprecated in API level 16.
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 ()

Added in API level 11

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

Returns
  • ProgramVertex