Microsoft DirectX 9.0 SDK Update (October 2004)

StateBlock.StateBlock Constructor

Language:

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

Initializes a new instance of the StateBlock class.

Definition

Visual Basic .NET Public Sub New( _
    ByVal device As Device, _
    ByVal stateBlockType As StateBlockType _
)
C# public StateBlock(
    Device device,
    StateBlockType stateBlockType
);
Managed C++ public: StateBlock(
    Device *device,
    StateBlockType stateBlockType
);
JScript .NET public function StateBlock(
    device : Device,
    stateBlockType : StateBlockType
);

Parameters

device Microsoft.DirectX.Direct3D.Device. Reference to the Device associated with the current state block.
stateBlockType Microsoft.DirectX.Direct3D.StateBlockType. Member of the StateBlockType enumeration that specifies the state block type.

© 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