Microsoft DirectX 9.0 SDK Update (October 2004)

LockedBox Structure

Language:

Note: This documentation is preliminary and is subject to change.

Describes a locked box (volume).

Definition

Visual Basic .NET Public Structure LockedBox
C# public struct LockedBox
Managed C++ public __value struct LockedBox
JScript .NET In JScript .NET, you can use structures, but you cannot define your own.

Members Table

Method Description
LockedBox Initializes a new instance of the LockedBox class.
ToString Obtains a string representation of the current instance.
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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center