| java.lang.Object | |
| ↳ | android.renderscript.ProgramVertexFixedFunction.Constants |
Helper class to store modelview, projection and texture matrices for ProgramVertexFixedFunction
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a buffer to store fixed function emulation matrices
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Forces deallocation of memory backing the contant matrices.
| |||||||||||
Sets the modelview matrix in the fixed function matrix buffer
| |||||||||||
Sets the projection matrix in the fixed function matrix buffer
| |||||||||||
Sets the texture matrix in the fixed function matrix buffer.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a buffer to store fixed function emulation matrices
| rs | Context to which the allocation will belong. |
|---|
Forces deallocation of memory backing the contant matrices. Normally, this is unnecessary and will be garbage collected
Sets the modelview matrix in the fixed function matrix buffer
| m | modelview matrix |
|---|
Sets the projection matrix in the fixed function matrix buffer
| m | projection matrix |
|---|
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.
| m | modelview matrix |
|---|