Function BlamRendering::DirectX::HandleWindowResize¶
Defined in File rendering.h
Function Documentation¶
-
HRESULT
BlamRendering::DirectX
::
HandleWindowResize
(LPARAM lParam)¶ Handles a window resize event.
This function will resize the DirectX render target to match the window size upon resizing.
- Return
S_OK
if the render target was resized successfully, otherwise will return an error code.- Parameters
lParam
: - The LPARAM from the WM_RESIZE message. Contains the new information for the window size.