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

ProgramVertexFixedFunction.Constants

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

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

Summary

Public Constructors
ProgramVertexFixedFunction.Constants(RenderScript rs)
This constructor was deprecated in API level 16. in API 16 Creates a buffer to store fixed function emulation matrices
Public Methods
void destroy()
This method was deprecated in API level 16. 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 was deprecated in API level 16. in API 16 Sets the modelview matrix in the fixed function matrix buffer
void setProjection(Matrix4f m)
This method was deprecated in API level 16. in API 16 Sets the projection matrix in the fixed function matrix buffer
void setTexture(Matrix4f m)
This method was deprecated in API level 16. 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)

Added in API level 11

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

Added in API level 11

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

Added in API level 11

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

Parameters
m modelview matrix

public void setProjection (Matrix4f m)

Added in API level 11

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

Parameters
m projection matrix

public void setTexture (Matrix4f m)

Added in API level 11

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