StateBlock.StateBlock Constructor

Language:

Initializes a new instance of the StateBlock class.

Definition

Visual Basic Public Sub New( _
    ByVal lp As IDirect3DStateBlock9, _
    ByVal device As Device _
)
C# public StateBlock(
    IDirect3DStateBlock9 lp,
    Device device
);
C++ public:
 StateBlock(
    IDirect3DStateBlock9 lp,
    Devicedevice
);
JScript public function StateBlock(
    lp : IDirect3DStateBlock9,
    device : Device
);

Parameters

lp Microsoft.DirectX.PrivateImplementationDetails.IDirect3DStateBlock9
Unmanaged Component Object Model (COM) IDirect3DStateBlock9 interface pointer.
device Microsoft.DirectX.Direct3D.Device
Reference to the Device associated with the current state block.

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