CommonLibVR
RenderTargetData.h
Go to the documentation of this file.
1 #pragma once
2 
3 struct ID3D11DepthStencilView;
4 struct ID3D11RenderTargetView;
5 struct ID3D11ShaderResourceView;
6 struct ID3D11Texture2D;
7 struct ID3D11UnorderedAccessView;
8 
9 namespace RE
10 {
11  namespace BSGraphics
12  {
14  {
15  ID3D11Texture2D* texture; // 00
16  ID3D11Texture2D* textureCopy; // 08
17  ID3D11RenderTargetView* RTV; // 10 - for "Texture"
18  ID3D11ShaderResourceView* SRV; // 18 - for Texture"
19  ID3D11ShaderResourceView* SRVCopy; // 20 - for "TextureCopy"
20  ID3D11UnorderedAccessView* UAV; // 28 - for "Texture"
21  };
22  static_assert(sizeof(RenderTargetData) == 0x30);
23 
25  {
26  ID3D11Texture2D* texture; // 00
27  ID3D11DepthStencilView* views[8]; // 08
28  ID3D11DepthStencilView* readOnlyViews[8]; // 48
29  ID3D11ShaderResourceView* depthSRV; // 88
30  ID3D11ShaderResourceView* stencilSRV; // 90
31  };
32  static_assert(sizeof(DepthStencilData) == 0x98);
33 
35  {
36  ID3D11Texture2D* texture; // 00
37  ID3D11RenderTargetView* cubeSideRTV[6]; // 08
38  ID3D11ShaderResourceView* SRV; // 38
39  };
40  static_assert(sizeof(CubemapRenderTargetData) == 0x40);
41 
43  {
44  std::uint64_t unk00; // 00
45  std::uint64_t unk08; // 08
46  std::uint64_t unk10; // 10
47  std::uint64_t unk18; // 18
48  };
49  static_assert(sizeof(Texture3DTargetData) == 0x20);
50  }
51 }
Definition: AbsorbEffect.h:6
Definition: RenderTargetData.h:35
ID3D11RenderTargetView * cubeSideRTV[6]
Definition: RenderTargetData.h:37
ID3D11Texture2D * texture
Definition: RenderTargetData.h:36
ID3D11ShaderResourceView * SRV
Definition: RenderTargetData.h:38
Definition: RenderTargetData.h:25
ID3D11DepthStencilView * views[8]
Definition: RenderTargetData.h:27
ID3D11DepthStencilView * readOnlyViews[8]
Definition: RenderTargetData.h:28
ID3D11ShaderResourceView * stencilSRV
Definition: RenderTargetData.h:30
ID3D11ShaderResourceView * depthSRV
Definition: RenderTargetData.h:29
ID3D11Texture2D * texture
Definition: RenderTargetData.h:26
Definition: RenderTargetData.h:14
ID3D11RenderTargetView * RTV
Definition: RenderTargetData.h:17
ID3D11UnorderedAccessView * UAV
Definition: RenderTargetData.h:20
ID3D11ShaderResourceView * SRV
Definition: RenderTargetData.h:18
ID3D11Texture2D * textureCopy
Definition: RenderTargetData.h:16
ID3D11ShaderResourceView * SRVCopy
Definition: RenderTargetData.h:19
ID3D11Texture2D * texture
Definition: RenderTargetData.h:15
Definition: RenderTargetData.h:43
std::uint64_t unk08
Definition: RenderTargetData.h:45
std::uint64_t unk00
Definition: RenderTargetData.h:44
std::uint64_t unk10
Definition: RenderTargetData.h:46
std::uint64_t unk18
Definition: RenderTargetData.h:47