Share via


Effect.EndParameterBlock() Method (Microsoft.DirectX.Direct3D)

Stops the capturing of effect parameter state changes.

Definition

Visual Basic Public Function EndParameterBlock() As EffectHandle
C# public EffectHandle EndParameterBlock();
C++ public:
EffectHandleEndParameterBlock();
JScript 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.

See Also