Share via


StateBlock.StateBlock(IntPtr) Constructor (Microsoft.DirectX.Direct3D)

Initializes a new instance of the StateBlock class.

Definition

Visual Basic Public Sub New( _
    ByVal unmanagedObject As IntPtrLeave Site _
)
C# public StateBlock(
    IntPtrLeave Site unmanagedObject
);
C++ public:
 StateBlock(
    IntPtrLeave Site unmanagedObject
);
JScript public function StateBlock(
    unmanagedObject : IntPtrLeave Site
);

Parameters

unmanagedObject System.IntPtr
Pointer to an unmanaged Component Object Model (COM) IDirect3DStateBlock9 interface. This parameter is useful for working with unmanaged applications from managed code. Not supported.