GFXLockedRect
Engine/source/gfx/gfxTextureObject.h
Contains information on a locked region of a texture.
Detailed Description
Contains information on a locked region of a texture.
In general, to access a given pixel in a locked rectangle, use this equation:
U8 *pixelAtXY = bits + x * pitch + y * pixelSizeInBytes;
note:D3DLOCKED_RECT and this structure match up. If you change this assumption, be sure to revisit the D3D GFX implementation.