IDirect3DStateBlock9::Apply

Apply the state block to the current device state.

HRESULT Apply();

Parameters

None.

Return Values

If the method succeeds, the return value is D3D_OK. If the method fails while in record mode, the return value is D3DERR_INVALIDCALL.

Requirements

Header: Declared in D3d9.h.