Effect.DeleteParameterBlock(EffectHandle) Method (Microsoft.DirectX.Direct3D)
Deletes an effect parameter block.
Definition
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
);
Parameters
parameterBlock Microsoft.DirectX.Direct3D.EffectHandle
Handle to the parameter block to delete. This is the handle returned by Effect.EndParameterBlock.
Remarks
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.
See Also