ID3DXEffect::BeginParameterBlock

Start capturing state changes in a parameter block.

HRESULT BeginParameterBlock();

Parameters

None.

Return Values

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL, D3DXERR_INVALIDDATA.

Remarks

Capture effect parameter state changes until EndParameterBlock is called. Effect parameters include any state changes outside of a pass. Delete parameter blocks if they are no longer needed by calling DeleteParameterBlock.

Requirements

Header: Declared in D3dx9effect.h.

See Also

ID3DXEffect::EndParameterBlock, ID3DXEffect::ApplyParameterBlock, ID3DXEffect::DeleteParameterBlock