Function BlamRendering::DirectX::UpdateResolution

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.