CompMatPropertyMutator_t
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 912 bytes (0x390)Alignment: 8 bytesModule: compositematerialslibBinary: !GlobalTypes
Metadata: MPropertyElementNameFn
Relationships
Inherits from: nothing; this is a root class.
Used by (1) as a field type
Inheritance tree
- CompMatPropertyMutator_t
Relationship diagram (2 edges)
classDiagram
CompMatPropertyMutator_t *-- CompositeMaterialInputLooseVariable_t
CompMatPropertyMutator_t *-- CompMatMutatorCondition_tMemory layout
29 fields, 29 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CompMatPropertyMutator_t
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_bEnabled | bool | MPropertyAutoRebuildOnChange MPropertyFriendlyName Enabled | |
0x4 | m_nMutatorCommandType | CompMatPropertyMutatorType_t | MPropertyAttrStateCallback MPropertyAutoRebuildOnChange MPropertyFriendlyName Mutator Command | |
0x8 | m_strInitWith_Container | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Container to Init With | |
0x10 | m_strCopyProperty_InputContainerSrc | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Input Container | |
0x18 | m_strCopyProperty_InputContainerProperty | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Input Container Property | |
0x20 | m_strCopyProperty_TargetProperty | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Target Property | |
0x28 | m_strRandomRollInputVars_SeedInputVar | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Seed Input Var | |
0x30 | m_vecRandomRollInputVars_InputVarsToRoll | CUtlVector< CUtlString > | MPropertyAttrStateCallback MPropertyFriendlyName Input Vars | |
0x48 | m_strCopyMatchingKeys_InputContainerSrc | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Input Container | |
0x50 | m_strCopyKeysWithSuffix_InputContainerSrc | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Input Container | |
0x58 | m_strCopyKeysWithSuffix_FindSuffix | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Find Suffix | |
0x60 | m_strCopyKeysWithSuffix_ReplaceSuffix | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Replace Suffix | |
0x68 | m_nSetValue_Value | CompositeMaterialInputLooseVariable_t | MPropertyAttrStateCallback MPropertyFriendlyName Value | |
0x2f0 | m_strGenerateTexture_TargetParam | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Target Texture Param | |
0x2f8 | m_strGenerateTexture_InitialContainer | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Initial Container | |
0x300 | m_nResolution | int32 | MPropertyAttrStateCallback MPropertyFriendlyName Resolution | |
0x304 | m_bIsScratchTarget | bool | MPropertyAttrStateCallback MPropertyAutoRebuildOnChange MPropertyFriendlyName Scratch Target | |
0x308 | m_strCompressionFormat | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Compression Format | |
0x310 | m_bSplatDebugInfo | bool | MPropertyAttrStateCallback MPropertyAutoRebuildOnChange MPropertyFriendlyName Splat Debug info on Texture | |
0x311 | m_bCaptureInRenderDoc | bool | MPropertyAttrStateCallback MPropertyAutoRebuildOnChange MPropertyFriendlyName Capture in RenderDoc | |
0x318 | m_vecTexGenInstructions | CUtlVector< CompMatPropertyMutator_t > | MPropertyAttrStateCallback MPropertyFriendlyName Texture Generation Instructions | |
0x330 | m_vecConditionalMutators | CUtlVector< CompMatPropertyMutator_t > | MPropertyAttrStateCallback MPropertyFriendlyName Mutators | |
0x348 | m_strPopInputQueue_Container | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Container to Pop | |
0x350 | m_strDrawText_InputContainerSrc | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Input Container | |
0x358 | m_strDrawText_InputContainerProperty | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Input Container Property | |
0x360 | m_vecDrawText_Position | Vector2D | MPropertyAttrStateCallback MPropertyFriendlyName Text Position | |
0x368 | m_colDrawText_Color | Color | MPropertyAttrStateCallback MPropertyFriendlyName Text Color | |
0x370 | m_strDrawText_Font | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Font | |
0x378 | m_vecConditions | CUtlVector< CompMatMutatorCondition_t > | MPropertyAttrStateCallback MPropertyFriendlyName Conditions |
KV3 class defaults
{
"m_bEnabled": true,
"m_nMutatorCommandType": "COMP_MAT_PROPERTY_MUTATOR_SET_VALUE",
"m_strInitWith_Container": "",
"m_strCopyProperty_InputContainerSrc": "",
"m_strCopyProperty_InputContainerProperty": "",
"m_strCopyProperty_TargetProperty": "",
"m_strRandomRollInputVars_SeedInputVar": "",
"m_vecRandomRollInputVars_InputVarsToRoll":
[
],
"m_strCopyMatchingKeys_InputContainerSrc": "",
"m_strCopyKeysWithSuffix_InputContainerSrc": "",
"m_strCopyKeysWithSuffix_FindSuffix": "",
"m_strCopyKeysWithSuffix_ReplaceSuffix": "",
"m_nSetValue_Value":
{
"m_strName": "",
"m_bExposeExternally": false,
"m_strExposedFriendlyName": "",
"m_strExposedFriendlyGroupName": "",
"m_bExposedVariableIsFixedRange": false,
"m_strExposedVisibleWhenTrue": "",
"m_strExposedHiddenWhenTrue": "",
"m_strExposedValueList": "",
"m_nVariableType": "LOOSE_VARIABLE_TYPE_FLOAT1",
"m_bValueBoolean": false,
"m_nValueIntX": 0,
"m_nValueIntY": 0,
"m_nValueIntZ": 0,
"m_nValueIntW": 0,
"m_bHasFloatBounds": false,
"m_flValueFloatX": 0.000000,
"m_flValueFloatX_Min": 0.000000,
"m_flValueFloatX_Max": 1.000000,
"m_flValueFloatY": 0.000000,
"m_flValueFloatY_Min": 0.000000,
"m_flValueFloatY_Max": 1.000000,
"m_flValueFloatZ": 0.000000,
"m_flValueFloatZ_Min": 0.000000,
"m_flValueFloatZ_Max": 1.000000,
"m_flValueFloatW": 0.000000,
"m_flValueFloatW_Min": 0.000000,
"m_flValueFloatW_Max": 1.000000,
"m_cValueColor4":
[
0,
0,
0,
0
],
"m_nValueSystemVar": "COMPMATSYSVAR_COMPOSITETIME",
"m_strResourceMaterial": "",
"m_strTextureContentAssetPath": "",
"m_strTextureRuntimeResourcePath": "",
"m_strTextureCompilationVtexTemplate": "",
"m_nTextureType": "INPUT_TEXTURE_TYPE_DEFAULT",
"m_strString": "",
"m_strPanoramaPanelPath": "",
"m_nPanoramaRenderRes": 512
},
"m_strGenerateTexture_TargetParam": "",
"m_strGenerateTexture_InitialContainer": "",
"m_nResolution": 256,
"m_bIsScratchTarget": false,
"m_strCompressionFormat": "",
"m_bSplatDebugInfo": false,
"m_bCaptureInRenderDoc": false,
"m_vecTexGenInstructions":
[
],
"m_vecConditionalMutators":
[
],
"m_strPopInputQueue_Container": "",
"m_strDrawText_InputContainerSrc": "",
"m_strDrawText_InputContainerProperty": "",
"m_vecDrawText_Position":
[
0.000000,
0.000000
],
"m_colDrawText_Color":
[
255,
255,
255
],
"m_strDrawText_Font": "Times New Roman",
"m_vecConditions":
[
]
}