70 static_assert(offsetof(
RendererData, renderWindows) == 0x48);
73 static_assert(offsetof(
RendererData, renderWindows) == 0x48);
74 static_assert(offsetof(
RendererData, renderTargets) == 0xA48);
75 static_assert(offsetof(
RendererData, depthStencils) == 0x21B8);
76 static_assert(offsetof(
RendererData, cubemapRenderTargets) == 0x2E30);
121 void ResizeWindow(
std::uint32_t a_windowID,
std::uint32_t a_width,
std::uint32_t a_height,
bool a_fullscreen,
bool a_borderless);
141 std::uint64_t unk010;
145 void Begin(std::uint32_t windowID);
Definition Renderer.h:113
void RequestWindowResize(std::uint32_t a_width, std::uint32_t a_height)
void SetWindowPosition(std::uint32_t a_windowID, std::int32_t a_x, std::int32_t a_y)
std::uint64_t unk08
Definition Renderer.h:139
void UpdateViewPort(std::uint32_t a_unk1, std::uint32_t a_unk2, bool a_unk3)
void SetWindowActiveState(bool a_show)
static REX::W32::ID3D11Device * GetDevice()
static RendererWindow * GetCurrentRenderWindow()
static RendererData * GetRendererData()
std::uint64_t unk00
Definition Renderer.h:138
NiTexture::RendererData * CreateRenderTexture(std::uint32_t a_width, std::uint32_t a_height)
void KillWindow(std::uint32_t a_windowID)
void WindowSizeChanged(std::uint32_t a_windowID)
void CreateSwapChain(REX::W32::HWND *a_window, bool a_setCurrent)
RendererData data
Definition Renderer.h:143
static ScreenSize GetScreenSize()
static Renderer * GetSingleton() noexcept
void SaveRenderTargetToFile(RENDER_TARGET a_renderTarget, const char *a_filePath, TextureFileFormat a_textureFileFormat)
void ResizeWindow(std::uint32_t a_windowID, std::uint32_t a_width, std::uint32_t a_height, bool a_fullscreen, bool a_borderless)
void ResetWindow(std::uint32_t a_windowID)
Definition NiTexture.h:15
DXGI_MODE_SCALING
Definition DXGI.h:201
DXGI_MODE_SCANLINE_ORDER
Definition DXGI.h:208
std::intptr_t(*)(HWND, std::uint32_t, std::uintptr_t, std::intptr_t) WNDPROC
Definition USER32.h:279
HINSTANCE__ * HINSTANCE
Definition BASE.h:21
HICON__ * HICON
Definition BASE.h:20
HWND__ * HWND
Definition BASE.h:30
Definition BSDirectInputManager.h:8
TextureFileFormat
Definition TextureFileFormat.h:8
Definition AbsorbEffect.h:6
Definition EffectArchetypes.h:65
Definition Renderer.h:100
int windowY
Definition Renderer.h:103
ScreenSize screenSize
Definition Renderer.h:101
int presentInterval
Definition Renderer.h:105
bool vsync
Definition Renderer.h:108
int windowX
Definition Renderer.h:102
bool borderlessWindow
Definition Renderer.h:107
bool appFullScreen
Definition Renderer.h:106
int refreshRate
Definition Renderer.h:104
Definition RenderTargetData.h:35
Definition RenderTargetData.h:25
Definition RenderTargetData.h:14
bool readOnlyDepth
Definition Renderer.h:45
DepthStencilData depthStencils[RENDER_TARGET_DEPTHSTENCIL::kTOTAL]
Definition Renderer.h:56
REX::W32::DXGI_MODE_SCANLINE_ORDER scanlineOrdering
Definition Renderer.h:41
REX::W32::HINSTANCE hInstance
Definition Renderer.h:67
REX::W32::DXGI_RATIONAL actualRefreshRate
Definition Renderer.h:39
std::uint32_t newWidth
Definition Renderer.h:48
REX::W32::ID3D11DeviceContext * context
Definition Renderer.h:52
std::uint32_t newHeight
Definition Renderer.h:49
std::uint8_t clearStencil
Definition Renderer.h:64
RenderTargetData renderTargets[RENDER_TARGET::kTOTAL]
Definition Renderer.h:55
const char * className
Definition Renderer.h:66
bool borderlessDisplay
Definition Renderer.h:44
bool instantiated
Definition Renderer.h:46
float clearColor[4]
Definition Renderer.h:63
bool fullScreen
Definition Renderer.h:43
REX::W32::ID3D11Device * forwarder
Definition Renderer.h:51
bool requestedWindowSizeChange
Definition Renderer.h:47
Texture3DTargetData texture3DRenderTargets[RENDER_TARGET_3D::kTOTAL]
Definition Renderer.h:62
REX::W32::CRITICAL_SECTION lock
Definition Renderer.h:65
REX::W32::DXGI_RATIONAL desiredRefreshRate
Definition Renderer.h:38
RendererWindow renderWindows[32]
Definition Renderer.h:53
std::uint32_t isNotWindowed
Definition Renderer.h:42
REX::W32::DXGI_MODE_SCALING scaleMode
Definition Renderer.h:40
std::uint32_t uiAdapter
Definition Renderer.h:37
CubemapRenderTargetData cubemapRenderTargets[RENDER_TARGET_CUBEMAP::kTOTAL]
Definition Renderer.h:61
std::uint32_t presentInterval
Definition Renderer.h:50
const char * className
Definition Renderer.h:86
REX::W32::HICON icon
Definition Renderer.h:85
REX::W32::HINSTANCE instance
Definition Renderer.h:83
std::uint32_t unk2C
Definition Renderer.h:88
std::uint32_t adapter
Definition Renderer.h:87
REX::W32::WNDPROC windowProcFunction
Definition Renderer.h:84
REX::W32::HWND hwnd
Definition Renderer.h:82
RENDER_TARGET swapChainRenderTarget
Definition Renderer.h:23
std::int32_t windowY
Definition Renderer.h:19
std::uint64_t unk28
Definition Renderer.h:25
REX::W32::HWND hWnd
Definition Renderer.h:17
REX::W32::IDXGISwapChain * swapChain
Definition Renderer.h:22
std::uint64_t unk40
Definition Renderer.h:28
std::uint64_t unk48
Definition Renderer.h:29
std::int32_t windowX
Definition Renderer.h:18
std::int32_t windowWidth
Definition Renderer.h:20
REX::W32::ID3D11RenderTargetView1 * renderView
Definition Renderer.h:26
std::uint32_t unk24
Definition Renderer.h:24
REX::W32::ID3D11ShaderResourceView1 * resourceView
Definition Renderer.h:27
std::int32_t windowHeight
Definition Renderer.h:21
std::uint32_t width
Definition Renderer.h:94
std::uint32_t height
Definition Renderer.h:95
Definition RenderTargetData.h:43
RENDER_TARGET
Definition BSShaderRenderTargets.h:8