![]() |
![]() |
![]() |
StateBlock.StateBlock Constructor |
Language: |
Initializes a new instance of the StateBlock class.
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
);
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center