to top
Android APIs
public static class

ProgramVertexFixedFunction.Constants

extends Object
java.lang.Object
   ↳ android.renderscript.ProgramVertexFixedFunction.Constants

This class is deprecated.
in API 16 Helper class to store modelview, projection and texture matrices for ProgramVertexFixedFunction

Summary

Public Constructors
ProgramVertexFixedFunction.Constants(RenderScript rs)
This constructor is deprecated. in API 16 Creates a buffer to store fixed function emulation matrices
Public Methods
void destroy()
This method is deprecated. in API 16 Forces deallocation of memory backing the contant matrices. Normally, this is unnecessary and will be garbage collected
void setModelview(Matrix4f m)
This method is deprecated. in API 16 Sets the modelview matrix in the fixed function matrix buffer
void setProjection(Matrix4f m)
This method is deprecated. in API 16 Sets the projection matrix in the fixed function matrix buffer
void setTexture(Matrix4f m)
This method is deprecated. in API 16 Sets the texture matrix in the fixed function matrix buffer. Texture matrix must be enabled in the ProgramVertexFixedFunction builder for the shader to utilize it.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ProgramVertexFixedFunction.Constants (RenderScript rs)

Since: API Level 11

This constructor is deprecated.
in API 16 Creates a buffer to store fixed function emulation matrices

Parameters
rs Context to which the allocation will belong.

Public Methods

public void destroy ()

Since: API Level 11

This method is deprecated.
in API 16 Forces deallocation of memory backing the contant matrices. Normally, this is unnecessary and will be garbage collected

public void setModelview (Matrix4f m)

Since: API Level 11

This method is deprecated.
in API 16 Sets the modelview matrix in the fixed function matrix buffer

Parameters
m modelview matrix

public void setProjection (Matrix4f m)

Since: API Level 11

This method is deprecated.
in API 16 Sets the projection matrix in the fixed function matrix buffer

Parameters
m projection matrix

public void setTexture (Matrix4f m)

Since: API Level 11

This method is deprecated.
in API 16 Sets the texture matrix in the fixed function matrix buffer. Texture matrix must be enabled in the ProgramVertexFixedFunction builder for the shader to utilize it.

Parameters
m modelview matrix