Effect.EndParameterBlock Method |
Language: |
Stops the capturing of effect parameter state changes.
Visual Basic Public Function EndParameterBlock() As EffectHandle C# public EffectHandle EndParameterBlock(); C++ public:
EffectHandle^ EndParameterBlock();JScript public function EndParameterBlock() : EffectHandle;
Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle for the parameter state block.
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.
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