Binds an image (CPU memory) to a texture (GPU memory). Regions of the texture (or the entire texture) may be invalidated. Invalidated regions will be reloaded into GPU memory the next time the texture is bound.
List of all members.
Invalidate either a sub-region of the texture or the whole texture. Invalidated regions will be reloaded from the image the next time the texture is bound.
function invalidate ( MOAIImage self, number xMin, number yMin, number xMax, number yMax )
|self||( MOAIImage ) |
|xMin||( number ) |
|yMin||( number ) |
|xMax||( number ) |
|yMax||( number ) |