Effect.DeleteParameterBlock Method |
Language: |
Deletes an effect parameter block.
Visual Basic Public Sub DeleteParameterBlock( _
ByVal parameterBlock As EffectHandle _
)C# public void DeleteParameterBlock(
EffectHandle parameterBlock
);C++ public:
void DeleteParameterBlock(
EffectHandle^ parameterBlock
);JScript public function DeleteParameterBlock(
parameterBlock : EffectHandle
);
parameterBlock Microsoft.DirectX.Direct3D.EffectHandle
Handle to the parameter block to delete. This is the handle returned by Effect.EndParameterBlock.
Parameter blocks are blocks of effect state changes. Use a parameter block to record state changes so that they can be applied later on with a single API call. When no longer needed, delete the parameter block to reduce memory usage.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.