Scaleform::Render::MatrixPoolImpl::HMatrix
class HMatrix : public HMatrixConstants;
HMatrix is a handle to multi-item matrix set reference allocated from MatrixPool (memory pool used for storing matrices and Cxforms) and used by renderer back-end. Using handles allows matrix data set to have optional components (Cxforms and T0/T1 texture matrices are not allocated unless used) and allows matrix memory to be defragmented through a memory squeeze.
Matrix data managed by the matrix pool is accessed through HMatrix handle objects, which have accessors such as GetMatrix2D/SetMatrix2D, GetCxform/SetCxform and GetTextureMatrix/SetTextureMatrix.
Method |
Description |
Resets the matrix values to 0. | |
Returns the color transformation matrix applied to the rendering. | |
Returns the bits encoded for matrix components. | |
Returns the 2D transform matrix applied to the rendering. | |
Returns the 3D transform matrix applied to the rendering. | |
Returns the T0/T1 texture transform matrices used for rendering. | |
Returns user data pointer or Null if not available. | |
Returns user data pointer or Null if not available. | |
Determines whether a color transform matrix is applied while rendering. | |
Determines whether there is user data in the HMatrix. | |
Determines whether texture matrices are allocated for the renderer. | |
Indicates whether the object has a 3D transform applied to it. | |
HMatrix constructor. | |
Returns true if the null handle points to identity matrix. | |
Sets the color transformation matrix applied to the rendering. | |
Sets the 2D transform matrix applied to the rendering. | |
Sets the 3D transform matrix applied to the rendering. | |
Sets the T0/T1 texture transform matrices used for rendering. | |
Writes user data into user matrix. | |
Writes user data into user matrix. |
Render_MatrixPool.h