From 73f288fc13737f4f224bbbcb4065e7e05e91ccf6 Mon Sep 17 00:00:00 2001 From: Ilya Perapechka Date: Sun, 28 Jul 2024 18:58:00 +0300 Subject: [PATCH 1/2] feat: BSImagespaceShader RE. --- include/RE/B/BSImagespaceShader.h | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/include/RE/B/BSImagespaceShader.h b/include/RE/B/BSImagespaceShader.h index 613760a8e..b18f88e04 100644 --- a/include/RE/B/BSImagespaceShader.h +++ b/include/RE/B/BSImagespaceShader.h @@ -5,6 +5,8 @@ namespace RE { + class BSComputeShader; + class BSImagespaceShader : public BSShader, // 000 public ImageSpaceEffect // 090 @@ -29,23 +31,16 @@ namespace RE virtual void Unk_0E(void); // 0E // members - std::uint64_t unk120; // 120 - std::uint64_t unk128; // 128 - std::uint64_t unk130; // 130 - std::uint64_t unk138; // 138 - std::uint64_t unk140; // 140 - std::uint64_t unk148; // 148 - std::uint64_t unk150; // 150 - std::uint64_t unk158; // 158 - std::uint64_t unk160; // 160 - std::uint64_t unk168; // 168 - std::uint64_t unk170; // 170 - std::uint64_t unk178; // 178 - std::uint64_t unk180; // 180 - std::uint64_t unk188; // 188 - std::uint64_t unk190; // 190 - std::uint64_t unk198; // 198 - std::uint64_t unk1A0; // 1A0 + BSFixedString name; // 120 + BSFixedString originalShaderName; // 128 + std::uint64_t unk130; // 130 + BSTArray vsConstantNames; // 138 + BSTArray psConstantNames; // 150 + BSTArray samplerNames; // 158 + BSTArray unk180; // 180 + BSComputeShader* computeShader; // 198 + bool unk1A0; // 1A0 + bool isComputeShader; // 1A1 }; static_assert(sizeof(BSImagespaceShader) == 0x1A8); } From 061e4b6aeed777652c17ac1e4233e6dfdfa6b9fb Mon Sep 17 00:00:00 2001 From: Jonahex Date: Sun, 28 Jul 2024 16:30:40 +0000 Subject: [PATCH 2/2] maintenance --- include/RE/B/BSImagespaceShader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/RE/B/BSImagespaceShader.h b/include/RE/B/BSImagespaceShader.h index b18f88e04..a088bd306 100644 --- a/include/RE/B/BSImagespaceShader.h +++ b/include/RE/B/BSImagespaceShader.h @@ -38,7 +38,7 @@ namespace RE BSTArray psConstantNames; // 150 BSTArray samplerNames; // 158 BSTArray unk180; // 180 - BSComputeShader* computeShader; // 198 + BSComputeShader* computeShader; // 198 bool unk1A0; // 1A0 bool isComputeShader; // 1A1 };