![]() |
![]() |
![]() |
Effect.EndParameterBlock Method |
Language: |
Stops the capturing of effect parameter state changes.
Visual Basic .NET Public Function EndParameterBlock() As EffectHandle C# public EffectHandle EndParameterBlock(); Managed C++ public: EffectHandle* EndParameterBlock(); JScript .NET 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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center