CommonLibVR
Loading...
Searching...
No Matches
BSComputeShader.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/B/BSShader.h"
5#include "RE/N/NiRefObject.h"
6
7namespace RE
8{
10 {
11 public:
12 inline static constexpr auto RTTI = RTTI_BSComputeShader;
13 inline static constexpr auto VTABLE = VTABLE_BSComputeShader;
14
15 ~BSComputeShader() override; // 00
16
17 // override (BSReloadShaderI)
18 void ReloadShaders(void* a_stream) override; // 00
19
20 // add
21 virtual void Dispatch(uint32_t a_techniqueId, uint32_t a_threadGroupCountX, uint32_t a_threadGroupCountY, uint32_t a_threadGroupCountZ); // 02
22
23 // members
24 const char* name; // 18
26 };
27 static_assert(sizeof(BSComputeShader) == 0x50);
28}
Definition BSComputeShader.h:10
static constexpr auto VTABLE
Definition BSComputeShader.h:13
void ReloadShaders(void *a_stream) override
static constexpr auto RTTI
Definition BSComputeShader.h:12
virtual void Dispatch(uint32_t a_techniqueId, uint32_t a_threadGroupCountX, uint32_t a_threadGroupCountY, uint32_t a_threadGroupCountZ)
BSTHashMap< uint32_t, BSGraphics::ComputeShader * > shadersMap
Definition BSComputeShader.h:25
~BSComputeShader() override
const char * name
Definition BSComputeShader.h:24
Definition BSReloadShaderI.h:8
Definition BSTHashMap.h:21
Definition NiRefObject.h:8
Definition AbsorbEffect.h:6
constexpr std::array< REL::ID, 2 > VTABLE_BSComputeShader
Definition Offsets_VTABLE.h:8978
constexpr REL::ID RTTI_BSComputeShader(static_cast< std::uint64_t >(692109))