CommonLibSSE (powerof3)
Loading...
Searching...
No Matches
BSBatchRenderer.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTArray.h"
4#include "RE/B/BSTHashMap.h"
5
6namespace RE
7{
8 class BSRenderPass;
9
11 {
12 public:
13 inline static constexpr auto RTTI = RTTI_BSBatchRenderer;
14 inline static constexpr auto VTABLE = VTABLE_BSBatchRenderer;
15
17 {
20 };
21 static_assert(sizeof(PersistentPassList) == 0x10);
22
24 {
27 std::uintptr_t UnkPtr4; // 018
28 float depth; // 020 Distance from geometry to camera location
29 std::uint16_t count; // 024
30 std::uint8_t flags; // 026
31 };
32 static_assert(sizeof(GeometryGroup) == 0x28);
33
34 struct PassGroup
35 {
36 BSRenderPass* passes[5]; // 000
37 std::uint32_t validPassBits; // 028 OR'd with (1 << PassIndex)
38 };
39 static_assert(sizeof(PassGroup) == 0x30);
40
41 virtual ~BSBatchRenderer(); // 00
42
43 // add
44 virtual void Unk_01(void); // 01
45 virtual void Unk_02(void); // 02
46 virtual void Unk_03(void); // 03
47
48 // members
51 std::uint64_t unk050; // 050
52 std::uint64_t unk058; // 058
53 std::uint64_t unk060; // 060
54 std::uint64_t unk068; // 068
57 void* unk0F8; // 0F8
58 void* unk100; // 100
59 };
60 static_assert(sizeof(BSBatchRenderer) == 0x108);
61}
Definition BSBatchRenderer.h:11
void * unk100
Definition BSBatchRenderer.h:58
std::uint64_t unk060
Definition BSBatchRenderer.h:53
void * unk0F8
Definition BSBatchRenderer.h:57
GeometryGroup * geometryGroups[16]
Definition BSBatchRenderer.h:55
static constexpr auto VTABLE
Definition BSBatchRenderer.h:14
virtual void Unk_02(void)
BSTHashMap< UnkKey, UnkValue > unk020
Definition BSBatchRenderer.h:50
virtual void Unk_03(void)
std::uint64_t unk058
Definition BSBatchRenderer.h:52
GeometryGroup * alphaGroup
Definition BSBatchRenderer.h:56
virtual void Unk_01(void)
static constexpr auto RTTI
Definition BSBatchRenderer.h:13
std::uint64_t unk050
Definition BSBatchRenderer.h:51
BSTArray< void * > unk008
Definition BSBatchRenderer.h:49
std::uint64_t unk068
Definition BSBatchRenderer.h:54
virtual ~BSBatchRenderer()
Definition BSRenderPass.h:11
Definition BSTArray.h:378
Definition BSTHashMap.h:21
Definition AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BSBatchRenderer
Definition Offsets_VTABLE.h:8960
constexpr REL::ID RTTI_BSBatchRenderer(static_cast< std::uint64_t >(692065))
Definition BSBatchRenderer.h:24
std::uint16_t count
Definition BSBatchRenderer.h:29
std::uint8_t flags
Definition BSBatchRenderer.h:30
BSBatchRenderer * batchRenderer
Definition BSBatchRenderer.h:25
std::uintptr_t UnkPtr4
Definition BSBatchRenderer.h:27
PersistentPassList passList
Definition BSBatchRenderer.h:26
float depth
Definition BSBatchRenderer.h:28
Definition BSBatchRenderer.h:35
BSRenderPass * passes[5]
Definition BSBatchRenderer.h:36
std::uint32_t validPassBits
Definition BSBatchRenderer.h:37
Definition BSBatchRenderer.h:17
BSRenderPass * head
Definition BSBatchRenderer.h:18
BSRenderPass * tail
Definition BSBatchRenderer.h:19