LockedBox Structure

Language:

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

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.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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