Function BlamRendering::DirectX::UpdateResolution¶
Defined in File rendering.h
Function Documentation¶
-
HRESULT
BlamRendering::DirectX
::
UpdateResolution
(int x, int y)¶ Changes the DirectX render target resolution.
- Return
S_OK
if the resolution was updated, otherwise will contain an error code.- Parameters
x
: - The new width to render the screen at.y
: - The new height to render the screen at.