Start capturing state changes in a parameter block.
HRESULT BeginParameterBlock();
None.
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.
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.
Header: Declared in D3dx9effect.h.
ID3DXEffect::EndParameterBlock, ID3DXEffect::ApplyParameterBlock, ID3DXEffect::DeleteParameterBlock