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: materialsystem2.dll
|
2024-04-19 12:05:51 +00:00
|
|
|
// Classes count: 0 (Allocated) | 13 (Unallocated)
|
|
|
|
// Enums count: 0 (Allocated) | 5 (Unallocated)
|
2023-03-23 14:05:13 +00:00
|
|
|
// Created using source2gen - github.com/neverlosecc/source2gen
|
|
|
|
// /////////////////////////////////////////////////////////////
|
2023-03-15 15:20:35 +00:00
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
2024-04-05 16:55:05 +00:00
|
|
|
// Enumerator count: 4
|
2023-03-23 14:05:13 +00:00
|
|
|
// Alignment: 4
|
|
|
|
// Size: 0x4
|
2024-05-08 01:39:42 +00:00
|
|
|
enum class VertJustification_e : std::uint32_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
VERT_JUSTIFICATION_TOP = 0x0,
|
|
|
|
VERT_JUSTIFICATION_CENTER = 0x1,
|
|
|
|
VERT_JUSTIFICATION_BOTTOM = 0x2,
|
|
|
|
VERT_JUSTIFICATION_NONE = 0x3,
|
|
|
|
};
|
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
2024-04-05 16:55:05 +00:00
|
|
|
// Enumerator count: 3
|
2023-03-23 14:05:13 +00:00
|
|
|
// Alignment: 4
|
2024-04-05 16:55:05 +00:00
|
|
|
// Size: 0x4
|
2024-05-08 01:39:42 +00:00
|
|
|
enum class LayoutPositionType_e : std::uint32_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
LAYOUTPOSITIONTYPE_VIEWPORT_RELATIVE = 0x0,
|
|
|
|
LAYOUTPOSITIONTYPE_FRACTIONAL = 0x1,
|
|
|
|
LAYOUTPOSITIONTYPE_NONE = 0x2,
|
|
|
|
};
|
|
|
|
|
2024-04-19 12:05:51 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
|
|
|
// Enumerator count: 3
|
|
|
|
// Alignment: 4
|
|
|
|
// Size: 0x4
|
2024-05-08 01:39:42 +00:00
|
|
|
enum class ViewFadeMode_t : std::uint32_t
|
2024-04-19 12:05:51 +00:00
|
|
|
{
|
|
|
|
VIEW_FADE_CONSTANT_COLOR = 0x0,
|
|
|
|
VIEW_FADE_MODULATE = 0x1,
|
|
|
|
VIEW_FADE_MOD2X = 0x2,
|
|
|
|
};
|
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
2024-04-05 16:55:05 +00:00
|
|
|
// Enumerator count: 3
|
2023-03-23 14:05:13 +00:00
|
|
|
// Alignment: 4
|
2024-04-05 16:55:05 +00:00
|
|
|
// Size: 0x4
|
2024-05-08 01:39:42 +00:00
|
|
|
enum class BloomBlendMode_t : std::uint32_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
BLOOM_BLEND_ADD = 0x0,
|
|
|
|
BLOOM_BLEND_SCREEN = 0x1,
|
|
|
|
BLOOM_BLEND_BLUR = 0x2,
|
|
|
|
};
|
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
2024-04-19 12:05:51 +00:00
|
|
|
// Enumerator count: 4
|
2023-03-23 14:05:13 +00:00
|
|
|
// Alignment: 4
|
2024-04-05 16:55:05 +00:00
|
|
|
// Size: 0x4
|
2024-05-08 01:39:42 +00:00
|
|
|
enum class HorizJustification_e : std::uint32_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
2024-04-19 12:05:51 +00:00
|
|
|
HORIZ_JUSTIFICATION_LEFT = 0x0,
|
|
|
|
HORIZ_JUSTIFICATION_CENTER = 0x1,
|
|
|
|
HORIZ_JUSTIFICATION_RIGHT = 0x2,
|
|
|
|
HORIZ_JUSTIFICATION_NONE = 0x3,
|
2023-03-15 15:20:35 +00:00
|
|
|
};
|
|
|
|
|
2023-03-23 14:05:13 +00:00
|
|
|
struct PostProcessingTonemapParameters_t;
|
|
|
|
struct PostProcessingBloomParameters_t;
|
|
|
|
struct PostProcessingVignetteParameters_t;
|
|
|
|
struct PostProcessingLocalContrastParameters_t;
|
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
|
|
|
// Alignment: 8
|
2023-03-23 14:05:13 +00:00
|
|
|
// Size: 0x8
|
2024-05-08 01:39:42 +00:00
|
|
|
// Construct allowed
|
2023-11-09 15:17:52 +00:00
|
|
|
//
|
|
|
|
// MGetKV3ClassDefaults
|
2023-03-15 15:20:35 +00:00
|
|
|
struct MaterialParam_t
|
|
|
|
{
|
|
|
|
public:
|
2023-03-23 14:05:13 +00:00
|
|
|
CUtlString m_name; // 0x0
|
2023-03-15 15:20:35 +00:00
|
|
|
};
|
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
|
|
|
// Alignment: 8
|
2023-03-23 14:05:13 +00:00
|
|
|
// Size: 0x18
|
2024-05-08 01:39:42 +00:00
|
|
|
// Construct allowed
|
2023-11-09 15:17:52 +00:00
|
|
|
//
|
|
|
|
// MGetKV3ClassDefaults
|
2023-03-15 15:20:35 +00:00
|
|
|
struct MaterialParamVector_t : public MaterialParam_t
|
|
|
|
{
|
|
|
|
public:
|
2023-03-23 14:05:13 +00:00
|
|
|
Vector4D m_value; // 0x8
|
2023-03-15 15:20:35 +00:00
|
|
|
};
|
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
|
|
|
// Alignment: 8
|
2023-03-23 14:05:13 +00:00
|
|
|
// Size: 0x10
|
2024-05-08 01:39:42 +00:00
|
|
|
// Construct allowed
|
2023-11-09 15:17:52 +00:00
|
|
|
//
|
|
|
|
// MGetKV3ClassDefaults
|
2024-04-19 12:05:51 +00:00
|
|
|
struct MaterialParamString_t : public MaterialParam_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
2024-04-19 12:05:51 +00:00
|
|
|
CUtlString m_value; // 0x8
|
2023-03-15 15:20:35 +00:00
|
|
|
};
|
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
2024-04-19 12:05:51 +00:00
|
|
|
// Alignment: 4
|
|
|
|
// Size: 0x24
|
|
|
|
// Has Trivial Destructor
|
2024-05-08 01:39:42 +00:00
|
|
|
// Construct allowed
|
2023-11-09 15:17:52 +00:00
|
|
|
//
|
|
|
|
// MGetKV3ClassDefaults
|
2024-04-19 12:05:51 +00:00
|
|
|
struct PostProcessingVignetteParameters_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
2024-04-19 12:05:51 +00:00
|
|
|
float m_flVignetteStrength; // 0x0
|
|
|
|
Vector2D m_vCenter; // 0x4
|
|
|
|
float m_flRadius; // 0xc
|
|
|
|
float m_flRoundness; // 0x10
|
|
|
|
float m_flFeather; // 0x14
|
|
|
|
Vector m_vColorTint; // 0x18
|
2023-03-15 15:20:35 +00:00
|
|
|
};
|
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
|
|
|
// Alignment: 8
|
2024-04-19 12:05:51 +00:00
|
|
|
// Size: 0x10
|
2024-05-08 01:39:42 +00:00
|
|
|
// Construct allowed
|
2023-11-09 15:17:52 +00:00
|
|
|
//
|
|
|
|
// MGetKV3ClassDefaults
|
2024-04-19 12:05:51 +00:00
|
|
|
struct MaterialParamInt_t : public MaterialParam_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
2024-04-19 12:05:51 +00:00
|
|
|
int32_t m_nValue; // 0x8
|
2023-03-15 15:20:35 +00:00
|
|
|
};
|
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
2024-04-19 12:05:51 +00:00
|
|
|
// Alignment: 4
|
|
|
|
// Size: 0x14
|
|
|
|
// Has Trivial Destructor
|
2024-05-08 01:39:42 +00:00
|
|
|
// Construct allowed
|
2023-11-09 15:17:52 +00:00
|
|
|
//
|
|
|
|
// MGetKV3ClassDefaults
|
2024-04-19 12:05:51 +00:00
|
|
|
struct PostProcessingLocalContrastParameters_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
2024-04-19 12:05:51 +00:00
|
|
|
float m_flLocalContrastStrength; // 0x0
|
|
|
|
float m_flLocalContrastEdgeStrength; // 0x4
|
|
|
|
float m_flLocalContrastVignetteStart; // 0x8
|
|
|
|
float m_flLocalContrastVignetteEnd; // 0xc
|
|
|
|
float m_flLocalContrastVignetteBlur; // 0x10
|
2023-03-23 14:05:13 +00:00
|
|
|
};
|
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
|
|
|
// Alignment: 4
|
2023-03-23 14:05:13 +00:00
|
|
|
// Size: 0x3c
|
2023-11-09 15:17:52 +00:00
|
|
|
// Has Trivial Destructor
|
2024-05-08 01:39:42 +00:00
|
|
|
// Construct allowed
|
2023-11-09 15:17:52 +00:00
|
|
|
//
|
|
|
|
// MGetKV3ClassDefaults
|
2023-03-15 15:20:35 +00:00
|
|
|
struct PostProcessingTonemapParameters_t
|
|
|
|
{
|
|
|
|
public:
|
2023-03-23 14:05:13 +00:00
|
|
|
float m_flExposureBias; // 0x0
|
|
|
|
float m_flShoulderStrength; // 0x4
|
|
|
|
float m_flLinearStrength; // 0x8
|
|
|
|
float m_flLinearAngle; // 0xc
|
|
|
|
float m_flToeStrength; // 0x10
|
|
|
|
float m_flToeNum; // 0x14
|
|
|
|
float m_flToeDenom; // 0x18
|
|
|
|
float m_flWhitePoint; // 0x1c
|
|
|
|
float m_flLuminanceSource; // 0x20
|
|
|
|
float m_flExposureBiasShadows; // 0x24
|
|
|
|
float m_flExposureBiasHighlights; // 0x28
|
|
|
|
float m_flMinShadowLum; // 0x2c
|
|
|
|
float m_flMaxShadowLum; // 0x30
|
|
|
|
float m_flMinHighlightLum; // 0x34
|
|
|
|
float m_flMaxHighlightLum; // 0x38
|
|
|
|
};
|
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
|
|
|
// Alignment: 4
|
2023-03-23 14:05:13 +00:00
|
|
|
// Size: 0x70
|
2023-11-09 15:17:52 +00:00
|
|
|
// Has Trivial Destructor
|
2024-05-08 01:39:42 +00:00
|
|
|
// Construct allowed
|
2023-11-09 15:17:52 +00:00
|
|
|
//
|
|
|
|
// MGetKV3ClassDefaults
|
2023-03-15 15:20:35 +00:00
|
|
|
struct PostProcessingBloomParameters_t
|
|
|
|
{
|
|
|
|
public:
|
2023-03-23 14:05:13 +00:00
|
|
|
BloomBlendMode_t m_blendMode; // 0x0
|
|
|
|
float m_flBloomStrength; // 0x4
|
|
|
|
float m_flScreenBloomStrength; // 0x8
|
|
|
|
float m_flBlurBloomStrength; // 0xc
|
|
|
|
float m_flBloomThreshold; // 0x10
|
|
|
|
float m_flBloomThresholdWidth; // 0x14
|
|
|
|
float m_flSkyboxBloomStrength; // 0x18
|
|
|
|
float m_flBloomStartValue; // 0x1c
|
|
|
|
float m_flBlurWeight[5]; // 0x20
|
|
|
|
Vector m_vBlurTint[5]; // 0x34
|
|
|
|
};
|
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
2024-04-19 12:05:51 +00:00
|
|
|
// Alignment: 8
|
|
|
|
// Size: 0x20
|
2024-05-08 01:39:42 +00:00
|
|
|
// Construct allowed
|
2023-11-09 15:17:52 +00:00
|
|
|
//
|
|
|
|
// MGetKV3ClassDefaults
|
2024-04-19 12:05:51 +00:00
|
|
|
struct MaterialParamBuffer_t : public MaterialParam_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
2024-04-19 12:05:51 +00:00
|
|
|
CUtlBinaryBlock m_value; // 0x8
|
2023-03-15 15:20:35 +00:00
|
|
|
};
|
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
2024-04-19 12:05:51 +00:00
|
|
|
// Alignment: 8
|
|
|
|
// Size: 0x130
|
2024-05-08 01:39:42 +00:00
|
|
|
// Construct allowed
|
2023-11-09 15:17:52 +00:00
|
|
|
//
|
|
|
|
// MGetKV3ClassDefaults
|
2024-04-19 12:05:51 +00:00
|
|
|
struct MaterialResourceData_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
2024-04-19 12:05:51 +00:00
|
|
|
CUtlString m_materialName; // 0x0
|
|
|
|
CUtlString m_shaderName; // 0x8
|
|
|
|
CUtlVector< MaterialParamInt_t > m_intParams; // 0x10
|
|
|
|
CUtlVector< MaterialParamFloat_t > m_floatParams; // 0x28
|
|
|
|
CUtlVector< MaterialParamVector_t > m_vectorParams; // 0x40
|
|
|
|
CUtlVector< MaterialParamTexture_t > m_textureParams; // 0x58
|
|
|
|
CUtlVector< MaterialParamBuffer_t > m_dynamicParams; // 0x70
|
|
|
|
CUtlVector< MaterialParamBuffer_t > m_dynamicTextureParams; // 0x88
|
|
|
|
CUtlVector< MaterialParamInt_t > m_intAttributes; // 0xa0
|
|
|
|
CUtlVector< MaterialParamFloat_t > m_floatAttributes; // 0xb8
|
|
|
|
CUtlVector< MaterialParamVector_t > m_vectorAttributes; // 0xd0
|
|
|
|
CUtlVector< MaterialParamTexture_t > m_textureAttributes; // 0xe8
|
|
|
|
CUtlVector< MaterialParamString_t > m_stringAttributes; // 0x100
|
|
|
|
CUtlVector< CUtlString > m_renderAttributesUsed; // 0x118
|
2023-03-15 15:20:35 +00:00
|
|
|
};
|
|
|
|
|
2023-11-09 15:17:52 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
|
|
|
// Alignment: 8
|
2023-03-23 14:05:13 +00:00
|
|
|
// Size: 0x118
|
2024-05-08 01:39:42 +00:00
|
|
|
// Construct allowed
|
2023-11-09 15:17:52 +00:00
|
|
|
//
|
|
|
|
// MGetKV3ClassDefaults
|
2023-03-15 15:20:35 +00:00
|
|
|
struct PostProcessingResource_t
|
|
|
|
{
|
|
|
|
public:
|
2023-03-23 14:05:13 +00:00
|
|
|
bool m_bHasTonemapParams; // 0x0
|
|
|
|
PostProcessingTonemapParameters_t m_toneMapParams; // 0x4
|
|
|
|
bool m_bHasBloomParams; // 0x40
|
|
|
|
private:
|
2023-03-24 22:01:31 +00:00
|
|
|
[[maybe_unused]] uint8_t __pad0041[0x3]; // 0x41
|
2023-03-23 14:05:13 +00:00
|
|
|
public:
|
2024-02-12 00:06:50 +00:00
|
|
|
// -> m_blendMode - 0x44
|
|
|
|
// -> m_flBloomStrength - 0x48
|
|
|
|
// -> m_flScreenBloomStrength - 0x4c
|
|
|
|
// -> m_flBlurBloomStrength - 0x50
|
|
|
|
// -> m_flBloomThreshold - 0x54
|
|
|
|
// -> m_flBloomThresholdWidth - 0x58
|
|
|
|
// -> m_flSkyboxBloomStrength - 0x5c
|
|
|
|
// -> m_flBloomStartValue - 0x60
|
|
|
|
// -> m_flBlurWeight[5] - 0x64
|
|
|
|
// -> m_vBlurTint[5] - 0x78
|
2023-03-23 14:05:13 +00:00
|
|
|
PostProcessingBloomParameters_t m_bloomParams; // 0x44
|
|
|
|
bool m_bHasVignetteParams; // 0xb4
|
|
|
|
private:
|
2023-03-24 22:01:31 +00:00
|
|
|
[[maybe_unused]] uint8_t __pad00b5[0x3]; // 0xb5
|
2023-03-23 14:05:13 +00:00
|
|
|
public:
|
2024-02-12 00:06:50 +00:00
|
|
|
// -> m_flVignetteStrength - 0xb8
|
|
|
|
// -> m_vCenter - 0xbc
|
|
|
|
// -> m_flRadius - 0xc4
|
|
|
|
// -> m_flRoundness - 0xc8
|
|
|
|
// -> m_flFeather - 0xcc
|
|
|
|
// -> m_vColorTint - 0xd0
|
2023-03-23 14:05:13 +00:00
|
|
|
PostProcessingVignetteParameters_t m_vignetteParams; // 0xb8
|
|
|
|
bool m_bHasLocalContrastParams; // 0xdc
|
|
|
|
private:
|
2023-03-24 22:01:31 +00:00
|
|
|
[[maybe_unused]] uint8_t __pad00dd[0x3]; // 0xdd
|
2023-03-23 14:05:13 +00:00
|
|
|
public:
|
2024-02-12 00:06:50 +00:00
|
|
|
// -> m_flLocalContrastStrength - 0xe0
|
|
|
|
// -> m_flLocalContrastEdgeStrength - 0xe4
|
|
|
|
// -> m_flLocalContrastVignetteStart - 0xe8
|
|
|
|
// -> m_flLocalContrastVignetteEnd - 0xec
|
|
|
|
// -> m_flLocalContrastVignetteBlur - 0xf0
|
2023-03-23 14:05:13 +00:00
|
|
|
PostProcessingLocalContrastParameters_t m_localConstrastParams; // 0xe0
|
|
|
|
int32_t m_nColorCorrectionVolumeDim; // 0xf4
|
|
|
|
CUtlBinaryBlock m_colorCorrectionVolumeData; // 0xf8
|
|
|
|
bool m_bHasColorCorrection; // 0x110
|
2023-03-15 15:20:35 +00:00
|
|
|
};
|
|
|
|
|
2024-04-19 12:05:51 +00:00
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
|
|
|
// Alignment: 8
|
|
|
|
// Size: 0x10
|
2024-05-08 01:39:42 +00:00
|
|
|
// Construct allowed
|
2024-04-19 12:05:51 +00:00
|
|
|
//
|
|
|
|
// MGetKV3ClassDefaults
|
|
|
|
struct MaterialParamFloat_t : public MaterialParam_t
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
float m_flValue; // 0x8
|
|
|
|
};
|
|
|
|
|
|
|
|
// Registered binary: materialsystem2.dll (project 'materialsystem2')
|
|
|
|
// Alignment: 8
|
|
|
|
// Size: 0x10
|
2024-05-08 01:39:42 +00:00
|
|
|
// Construct allowed
|
2024-04-19 12:05:51 +00:00
|
|
|
//
|
|
|
|
// MGetKV3ClassDefaults
|
|
|
|
struct MaterialParamTexture_t : public MaterialParam_t
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CStrongHandle< InfoForResourceTypeCTextureBase > m_pValue; // 0x8
|
|
|
|
};
|
|
|
|
|