Skip to content

Most visited

Recently visited

navigation

ProgramVertex.Builder | Android Developers

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
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.