StateBlock.StateBlock Constructor |
Language: |
Initializes a new instance of the StateBlock class.
Visual Basic Public Sub New( _
ByVal device As Device, _
ByVal stateBlockType As StateBlockType _
)C# public StateBlock(
Device device,
StateBlockType stateBlockType
);C++ public:
StateBlock(
Device^ device,
StateBlockType stateBlockType
);JScript public function StateBlock(
device : Device,
stateBlockType : StateBlockType
);
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.
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