LockedBox Structure (Microsoft.DirectX.Direct3D)

Describes a locked box (volume).

Definition

Visual Basic Public Structure LockedBox
C# public struct LockedBox 
C++ public value class LockedBox sealed 
JScript In JScript, you can use structures, but you cannot define your own.

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
LockedBox Initializes a new instance of the LockedBox class.
ToString Obtains a string representation of the current instance.

Properties

Property Description
RowPitch Retrieves or sets the byte offset from the left edge of one row to the left edge of the next row.
SlicePitch Retrieves or sets the byte offset from the top left of one slice to the top left of the next-deepest slice.

Remarks

Volumes can be visualized as being organized into slices of width x height 2-D surfaces that are stacked up to make a width x height x depth volume.

Structure Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492