to top
Android APIs
public static class

ProgramFragmentFixedFunction.Builder

extends Object
java.lang.Object
   ↳ android.renderscript.ProgramFragmentFixedFunction.Builder

This class was deprecated in API level 16.
in API 16

Summary

Nested Classes
enum ProgramFragmentFixedFunction.Builder.EnvMode This enum was deprecated in API level 16. in API 16 EnvMode describes how textures are combined with the existing color in the fixed function fragment shader  
enum ProgramFragmentFixedFunction.Builder.Format This enum was deprecated in API level 16. in API 16 Format describes the pixel format of textures in the fixed function fragment shader and how they are sampled  
Constants
int MAX_TEXTURE This constant was deprecated in API level 16. in API 16
Public Constructors
ProgramFragmentFixedFunction.Builder(RenderScript rs)
This constructor was deprecated in API level 16. Creates a builder for fixed function fragment program
Public Methods
ProgramFragmentFixedFunction create()
This method was deprecated in API level 16. in API 16 Creates the fixed function fragment program from the current state of the builder.
ProgramFragmentFixedFunction.Builder setPointSpriteTexCoordinateReplacement(boolean enable)
This method was deprecated in API level 16. in API 16 Specifies whether the texture coordinate passed from the vertex program is replaced with an openGL internal point sprite texture coordinate
ProgramFragmentFixedFunction.Builder setTexture(ProgramFragmentFixedFunction.Builder.EnvMode env, ProgramFragmentFixedFunction.Builder.Format fmt, int slot)
This method was deprecated in API level 16. in API 16 Adds a texture to be fetched as part of the fixed function fragment program
ProgramFragmentFixedFunction.Builder setVaryingColor(boolean enable)
This method was deprecated in API level 16. in API 16 Specifies whether the varying color passed from the vertex program or the constant color set on the fragment program is used in the final color calculation in the fixed function fragment shader
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int MAX_TEXTURE

Added in API level 11

This constant was deprecated in API level 16.
in API 16

Constant Value: 2 (0x00000002)

Public Constructors

public ProgramFragmentFixedFunction.Builder (RenderScript rs)

Added in API level 11

This constructor was deprecated in API level 16.
Creates a builder for fixed function fragment program

Parameters
rs Context to which the program will belong.

Public Methods

public ProgramFragmentFixedFunction create ()

Added in API level 11

This method was deprecated in API level 16.
in API 16 Creates the fixed function fragment program from the current state of the builder.

public ProgramFragmentFixedFunction.Builder setPointSpriteTexCoordinateReplacement (boolean enable)

Added in API level 11

This method was deprecated in API level 16.
in API 16 Specifies whether the texture coordinate passed from the vertex program is replaced with an openGL internal point sprite texture coordinate

public ProgramFragmentFixedFunction.Builder setTexture (ProgramFragmentFixedFunction.Builder.EnvMode env, ProgramFragmentFixedFunction.Builder.Format fmt, int slot)

Added in API level 11

This method was deprecated in API level 16.
in API 16 Adds a texture to be fetched as part of the fixed function fragment program

Parameters
env specifies how the texture is combined with the current color
fmt specifies the format of the texture and how its components will be used to combine with the current color
slot index of the texture to apply the operations on
Returns
  • this

public ProgramFragmentFixedFunction.Builder setVaryingColor (boolean enable)

Added in API level 11

This method was deprecated in API level 16.
in API 16 Specifies whether the varying color passed from the vertex program or the constant color set on the fragment program is used in the final color calculation in the fixed function fragment shader