Skip to content

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_t
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

29 fields, 29 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.

CompMatPropertyMutator_t

OffsetFieldTypeFromAnnotations
0x0m_bEnabledboolMPropertyAutoRebuildOnChange MPropertyFriendlyName Enabled
0x4m_nMutatorCommandTypeCompMatPropertyMutatorType_tMPropertyAttrStateCallback MPropertyAutoRebuildOnChange MPropertyFriendlyName Mutator Command
0x8m_strInitWith_ContainerCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Container to Init With
0x10m_strCopyProperty_InputContainerSrcCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Input Container
0x18m_strCopyProperty_InputContainerPropertyCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Input Container Property
0x20m_strCopyProperty_TargetPropertyCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Target Property
0x28m_strRandomRollInputVars_SeedInputVarCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Seed Input Var
0x30m_vecRandomRollInputVars_InputVarsToRollCUtlVector< CUtlString >MPropertyAttrStateCallback MPropertyFriendlyName Input Vars
0x48m_strCopyMatchingKeys_InputContainerSrcCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Input Container
0x50m_strCopyKeysWithSuffix_InputContainerSrcCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Input Container
0x58m_strCopyKeysWithSuffix_FindSuffixCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Find Suffix
0x60m_strCopyKeysWithSuffix_ReplaceSuffixCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Replace Suffix
0x68m_nSetValue_ValueCompositeMaterialInputLooseVariable_tMPropertyAttrStateCallback MPropertyFriendlyName Value
0x2f0m_strGenerateTexture_TargetParamCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Target Texture Param
0x2f8m_strGenerateTexture_InitialContainerCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Initial Container
0x300m_nResolutionint32MPropertyAttrStateCallback MPropertyFriendlyName Resolution
0x304m_bIsScratchTargetboolMPropertyAttrStateCallback MPropertyAutoRebuildOnChange MPropertyFriendlyName Scratch Target
0x308m_strCompressionFormatCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Compression Format
0x310m_bSplatDebugInfoboolMPropertyAttrStateCallback MPropertyAutoRebuildOnChange MPropertyFriendlyName Splat Debug info on Texture
0x311m_bCaptureInRenderDocboolMPropertyAttrStateCallback MPropertyAutoRebuildOnChange MPropertyFriendlyName Capture in RenderDoc
0x318m_vecTexGenInstructionsCUtlVector< CompMatPropertyMutator_t >MPropertyAttrStateCallback MPropertyFriendlyName Texture Generation Instructions
0x330m_vecConditionalMutatorsCUtlVector< CompMatPropertyMutator_t >MPropertyAttrStateCallback MPropertyFriendlyName Mutators
0x348m_strPopInputQueue_ContainerCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Container to Pop
0x350m_strDrawText_InputContainerSrcCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Input Container
0x358m_strDrawText_InputContainerPropertyCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Input Container Property
0x360m_vecDrawText_PositionVector2DMPropertyAttrStateCallback MPropertyFriendlyName Text Position
0x368m_colDrawText_ColorColorMPropertyAttrStateCallback MPropertyFriendlyName Text Color
0x370m_strDrawText_FontCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Font
0x378m_vecConditionsCUtlVector< 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":
	[
	]
}