docs: add plugin setup guide
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
namespace RE
|
||||
{
|
||||
class NiAvObject;
|
||||
class NiSwitchNode;
|
||||
|
||||
namespace BSShaderUtil
|
||||
{
|
||||
inline void SetMaterialAlpha(NiAvObject* a_object, float a_alpha, bool a_onlyFade)
|
||||
{
|
||||
using func_t = decltype(&BSShaderUtil::SetMaterialAlpha);
|
||||
static REL::Relocation<func_t> func{ ID::BSShaderUtil::SetMaterialAlpha };
|
||||
return func(a_object, a_alpha, a_onlyFade);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user