Microsoft DirectX 9.0 SDK Update (October 2004)

Effect.EndParameterBlock Method

Language:

Note: This documentation is preliminary and is subject to change.

Stops the capturing of effect parameter state changes.

Definition

Visual Basic .NET Public Function EndParameterBlock() As EffectHandle
C# public EffectHandle EndParameterBlock();
Managed C++ public: EffectHandle* EndParameterBlock();
JScript .NET public function EndParameterBlock() : EffectHandle;

Return Value

Microsoft.DirectX.Direct3D.EffectHandle . An EffectHandle for the parameter state block.

Remarks

To start capturing effect parameter state changes, call Effect.BeginParameterBlock. All effect parameters that change state (before Effect.EndParameterBlock is called) are saved in an effect parameter state block, and then Effect.ApplyParameterBlock is used to apply this block of state changes to effect parameters. Effect parameters include any state changes outside of a pass.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center