This method of the Direct3dDevice Class creates a matrix.
public int createMatrix();
Returns a handle to the matrix that is created. The call will fail if a buffer of at least the size of the matrix cannot be created.
deleteMatrix, setMatrix