Effect.DeleteParameterBlock Method

Language:

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(
    EffectHandleparameterBlock
);
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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.