Device.EndStateBlock Method

Language:

Signals Microsoft Direct3D to stop recording a device state block and retrieve a pointer to the state block interface.

Definition

Visual Basic Public Function EndStateBlock() As StateBlock
C# public StateBlock EndStateBlock();
C++ public:
StateBlockEndStateBlock();
JScript public function EndStateBlock() : StateBlock;

Return Value

Microsoft.DirectX.Direct3D.StateBlock
State block object. For more information, see StateBlock.

Remarks

Exceptions
InvalidCallException The method call is invalid. This can occur if EndStateBlock is called without a corresponding BeginStateBlock.


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