?/TD> |
Microsoft DirectX 9.0 |
Describes a locked box (volume).
Syntax
typedef struct _D3DLOCKED_BOX { int RowPitch; int SlicePitch; void *pBits; } D3DLOCKED_BOX;
Members
- RowPitch
- Byte offset from the left edge of one row to the left edge of the next row.
- SlicePitch
- Byte offset from the top-left of one slice to the top-left of the next deepest slice.
- pBits
- Pointer to the beginning of the volume box. If a D3DBOX was provided to the LockBox call, pBits will be appropriately offset from the start of the volume.
Remarks
Volumes can be visualized as being organized into slices of width x height 2-D surfaces stacked up to make a width x height x depth volume. For more information, see Volume Texture Resources.
Structure Information
Header d3d9types.h Minimum operating systems Windows 98
See Also
IDirect3DVolume9::LockBox, IDirect3DVolumeTexture9::LockBox