Microsoft DirectX 8.1 (Visual Basic)

D3DLOCKED_BOX

Describes a locked box (volume).

Type D3DLOCKED_BOX
    pBits As Long
    RowPitch As Long
    SlicePitch As Long
End Type

Members

pBits
The locked bits. If a D3DBOX was provided to the LockRect call, pBits will be appropriately offset from the start of the volume.
RowPitch
The row pitch, in bytes.
SlicePitch
The slice pitch, in bytes.

Remarks

Volumes can be visualized as being organized into slices of width x height with 2-D surfaces stacked up to make a width x height x depth volume. For more information, see Volume Texture Resources.

See Also

Direct3DVolume8.LockBox, Direct3DVolumeTexture8.LockBox