identity matrix
mySprite.cacheAsBitmapMatrix = matrix;
mySprite.cacheAsBitmap = true;</code></pre>
<p>Usually, the identity matrix (<code>new <a href="../../openfl/geom/Matrix.html#Matrix">Matrix</a>()</code>) suffices. However, you can use another matrix, such as a
scaled-down matrix, to upload a different bitmap to the GPU. For example, the following example applies a
<code>cacheAsBitmapMatrix</code> matrix that is scaled by 0.5 on the x and y axes. The bitmap object that the GPU uses
is smaller, however 