D3DLOCKED_BOX

Describes a locked box (volume).

typedef struct D3DLOCKED_BOX {
    int RowPitch;
    int SlicePitch;
    void * pBits;
} D3DLOCKED_BOX, *LPD3DLOCKED_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 2D surfaces stacked up to make a width x height x depth volume. For more information, see Volume Texture Resources.

See Also

IDirect3DVolume9::LockBox, IDirect3DVolumeTexture9::LockBox