ID3DXEffect::EndParameterBlock method

Stop capturing effect parameter state changes.

Syntax

D3DXHANDLE EndParameterBlock();

Parameters

This method has no parameters.

Return value

Type: D3DXHANDLE

Returns a handle to the parameter state block.

Remarks

All effect parameters that change state (after calling BeginParameterBlock and before calling EndParameterBlock) will be saved in an effect parameter state block. Use ApplyParameterBlock to apply this block of state changes to the effect system. Once you are finished with a state block use DeleteParameterBlock to free the memory.

Requirements

Requirement Value
Header
D3DX9Effect.h
Library
D3dx9.lib

See also

ID3DXEffect

ID3DXEffect::BeginParameterBlock

ID3DXEffect::ApplyParameterBlock

ID3DXEffect::DeleteParameterBlock