CommonLibSSE NG
RenderTargetManager.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace RE
7 {
8  namespace BSGraphics
9  {
11  {
12  public:
13  [[nodiscard]] static RenderTargetManager* GetSingleton()
14  {
15  REL::Relocation<RenderTargetManager**> singleton{ RELOCATION_ID(524970, 411451) };
16  return *singleton;
17  }
18 
19  // members
20  RenderTargetProperties renderTargetData[RENDER_TARGET::kTOTAL]; // 0x000
21  DepthStencilTargetProperties depthStencilTargetData[RENDER_TARGETS_DEPTHSTENCIL::kTOTAL]; // 0xC78
22  CubeMapRenderTargetProperties cubeMapRenderTargetData[RENDER_TARGETS_CUBEMAP::kTOTAL]; // 0xD38
23  };
24  static_assert(sizeof(RenderTargetManager) == 0xD44);
25  }
26 }
#define RELOCATION_ID(a_se, a_ae)
Definition: PCH.h:724
Definition: Relocation.h:204
Definition: RenderTargetManager.h:11
static RenderTargetManager * GetSingleton()
Definition: RenderTargetManager.h:13
RenderTargetProperties renderTargetData[RENDER_TARGET::kTOTAL]
Definition: RenderTargetManager.h:20
DepthStencilTargetProperties depthStencilTargetData[RENDER_TARGETS_DEPTHSTENCIL::kTOTAL]
Definition: RenderTargetManager.h:21
CubeMapRenderTargetProperties cubeMapRenderTargetData[RENDER_TARGETS_CUBEMAP::kTOTAL]
Definition: RenderTargetManager.h:22
Definition: AbsorbEffect.h:6
Definition: RenderTargetProperties.h:36
Definition: RenderTargetProperties.h:25
Definition: RenderTargetProperties.h:10