mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Added DXTexture fields to CMaterialGlue
This commit is contained in:
parent
0c9e184e3f
commit
96ee0a834d
@ -21,7 +21,10 @@ public:
|
||||
void* m_pTextureGUID2; //0x0068
|
||||
char pad_0070[4]; //0x0070
|
||||
int32_t m_iMaterialRes; //0x0074
|
||||
char pad_0078[184]; //0x0078
|
||||
char pad_0078[136]; //0x0078
|
||||
void** m_ppDXTexture1; //0x0100
|
||||
void** m_ppDXTexture2; //0x0108
|
||||
char pad_0110[32]; //0x0110
|
||||
}; //Size: 0x0130
|
||||
|
||||
namespace
|
||||
|
@ -829,6 +829,24 @@ void _CMaterial_GetMaterialAtCrossHair_f_ComplectionFunc(const CCommand& args)
|
||||
DevMsg(eDLL_T::MS, "] Material Surface Name 2: 'NULL'\n");
|
||||
}
|
||||
|
||||
if (material->m_ppDXTexture1)
|
||||
{
|
||||
DevMsg(eDLL_T::MS, "] DX Texture 1: '%llX'\n", material->m_ppDXTexture1);
|
||||
}
|
||||
else
|
||||
{
|
||||
DevMsg(eDLL_T::MS, "] DX Texture 1: 'NULL'\n");
|
||||
}
|
||||
|
||||
if (material->m_ppDXTexture2)
|
||||
{
|
||||
DevMsg(eDLL_T::MS, "] DX Texture 2: '%llX'\n", material->m_ppDXTexture2);
|
||||
}
|
||||
else
|
||||
{
|
||||
DevMsg(eDLL_T::MS, "] DX Texture 2: 'NULL'\n");
|
||||
}
|
||||
|
||||
material->m_pDepthShadow ? fnPrintChild(material->m_pDepthShadow, " ] DepthShadow Addr: '%llX'\n") : DevMsg(eDLL_T::MS, "] DepthShadow Addr: 'NULL'\n");
|
||||
material->m_pDepthPrepass ? fnPrintChild(material->m_pDepthPrepass, " ] DepthPrepass Addr: '%llX'\n") : DevMsg(eDLL_T::MS, "] DepthPrepass Addr: 'NULL'\n");
|
||||
material->m_pDepthVSM ? fnPrintChild(material->m_pDepthVSM, " ] DepthVSM Addr: '%llX'\n") : DevMsg(eDLL_T::MS, "] DepthVSM Addr: 'NULL'\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user