source2sdk/sdk/scenesystem.hpp

118 lines
2.2 KiB
C++
Raw Normal View History

2023-03-15 15:20:35 +00:00
#pragma once
#include <cstdint>
#include "!GlobalTypes.hpp"
2023-03-23 14:05:13 +00:00
// /////////////////////////////////////////////////////////////
2023-03-15 15:20:35 +00:00
// Binary: scenesystem.dll
2023-03-23 14:05:13 +00:00
// Classes count: 9
// Enums count: 1
// Created using source2gen - github.com/neverlosecc/source2gen
// /////////////////////////////////////////////////////////////
2023-03-15 15:20:35 +00:00
2023-03-23 14:05:13 +00:00
// Alignment: 1
// Size: 0x4
2023-03-15 15:20:35 +00:00
enum class DisableShadows_t : uint8_t
{
2023-03-23 14:05:13 +00:00
kDisableShadows_None = 0x0,
kDisableShadows_All = 0x1,
kDisableShadows_Baked = 0x2,
kDisableShadows_Realtime = 0x3,
2023-03-15 15:20:35 +00:00
};
2023-03-23 14:05:13 +00:00
struct SceneViewId_t;
// Alignment: 2
// Size: 0x10
2023-03-15 15:20:35 +00:00
class CSSDSEndFrameViewInfo
{
public:
2023-03-23 14:05:13 +00:00
uint64_t m_nViewId; // 0x0
CUtlString m_ViewName; // 0x8
2023-03-15 15:20:35 +00:00
};
2023-03-23 14:05:13 +00:00
// Alignment: 1
// Size: 0x18
2023-03-15 15:20:35 +00:00
class CSSDSMsg_EndFrame
{
public:
2023-03-23 14:05:13 +00:00
CUtlVector< CSSDSEndFrameViewInfo > m_Views; // 0x0
2023-03-15 15:20:35 +00:00
};
2023-03-23 14:05:13 +00:00
// Alignment: 2
// Size: 0x10
2023-03-15 15:20:35 +00:00
struct SceneViewId_t
{
public:
2023-03-23 14:05:13 +00:00
uint64_t m_nViewId; // 0x0
uint64_t m_nFrameCount; // 0x8
2023-03-15 15:20:35 +00:00
};
2023-03-23 14:05:13 +00:00
// Alignment: 2
// Size: 0x18
2023-03-15 15:20:35 +00:00
class CSSDSMsg_ViewRender
{
public:
2023-03-23 14:05:13 +00:00
SceneViewId_t m_viewId; // 0x0
CUtlString m_ViewName; // 0x10
2023-03-15 15:20:35 +00:00
};
2023-03-23 14:05:13 +00:00
// Alignment: 6
// Size: 0x38
2023-03-15 15:20:35 +00:00
class CSSDSMsg_LayerBase
{
public:
2023-03-23 14:05:13 +00:00
SceneViewId_t m_viewId; // 0x0
CUtlString m_ViewName; // 0x10
int32_t m_nLayerIndex; // 0x18
private:
2023-03-24 22:01:31 +00:00
[[maybe_unused]] uint8_t __pad001c[0x4]; // 0x1c
2023-03-23 14:05:13 +00:00
public:
uint64_t m_nLayerId; // 0x20
CUtlString m_LayerName; // 0x28
CUtlString m_displayText; // 0x30
2023-03-15 15:20:35 +00:00
};
2023-03-23 14:05:13 +00:00
// Alignment: 10
// Size: 0x30
2023-03-15 15:20:35 +00:00
class CSSDSMsg_ViewTarget
{
public:
2023-03-23 14:05:13 +00:00
CUtlString m_Name; // 0x0
uint64_t m_TextureId; // 0x8
int32_t m_nWidth; // 0x10
int32_t m_nHeight; // 0x14
int32_t m_nRequestedWidth; // 0x18
int32_t m_nRequestedHeight; // 0x1c
int32_t m_nNumMipLevels; // 0x20
int32_t m_nDepth; // 0x24
int32_t m_nMultisampleNumSamples; // 0x28
int32_t m_nFormat; // 0x2c
2023-03-15 15:20:35 +00:00
};
2023-03-23 14:05:13 +00:00
// Alignment: 3
// Size: 0x30
2023-03-15 15:20:35 +00:00
class CSSDSMsg_ViewTargetList
{
public:
2023-03-23 14:05:13 +00:00
SceneViewId_t m_viewId; // 0x0
CUtlString m_ViewName; // 0x10
CUtlVector< CSSDSMsg_ViewTarget > m_Targets; // 0x18
2023-03-15 15:20:35 +00:00
};
2023-03-23 14:05:13 +00:00
// Alignment: 0
// Size: 0x38
2023-03-15 15:20:35 +00:00
class CSSDSMsg_PreLayer : public CSSDSMsg_LayerBase
{
public:
2023-03-24 22:01:31 +00:00
// No members available
2023-03-15 15:20:35 +00:00
};
2023-03-23 14:05:13 +00:00
// Alignment: 0
// Size: 0x38
2023-03-15 15:20:35 +00:00
class CSSDSMsg_PostLayer : public CSSDSMsg_LayerBase
{
public:
2023-03-24 22:01:31 +00:00
// No members available
2023-03-15 15:20:35 +00:00
};