to top
Android APIs
public static class

ProgramFragmentFixedFunction.Builder

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

This class is deprecated.
in API 16

Summary

Nested Classes
enum ProgramFragmentFixedFunction.Builder.EnvMode This enum is deprecated. 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 is deprecated. 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 is deprecated. in API 16
Public Constructors
ProgramFragmentFixedFunction.Builder(RenderScript rs)
This constructor is deprecated. Creates a builder for fixed function fragment program
Public Methods
ProgramFragmentFixedFunction create()
This method is deprecated. in API 16 Creates the fixed function fragment program from the current state of the builder.
ProgramFragmentFixedFunction.Builder setPointSpriteTexCoordinateReplacement(boolean enable)
This method is deprecated. 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 is deprecated. in API 16 Adds a texture to be fetched as part of the fixed function fragment program
ProgramFragmentFixedFunction.Builder setVaryingColor(boolean enable)
This method is deprecated. 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

Since: API Level 11

This constant is deprecated.
in API 16

Constant Value: 2 (0x00000002)

Public Constructors

public ProgramFragmentFixedFunction.Builder (RenderScript rs)

Since: API Level 11

This constructor is deprecated.
Creates a builder for fixed function fragment program

Parameters
rs Context to which the program will belong.

Public Methods

public ProgramFragmentFixedFunction create ()

Since: API Level 11

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

public ProgramFragmentFixedFunction.Builder setPointSpriteTexCoordinateReplacement (boolean enable)

Since: API Level 11

This method is deprecated.
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)

Since: API Level 11

This method is deprecated.
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)

Since: API Level 11

This method is deprecated.
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