Skip to content

CompositeMaterialInputContainer_t

CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 312 bytes (0x138)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
  • CompositeMaterialInputContainer_t
Relationship diagram (2 edges)
classDiagram
    CompositeMaterialInputContainer_t *-- InfoForResourceTypeIMaterial2
    CompositeMaterialInputContainer_t *-- CompositeMaterialInputLooseVariable_t
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CompositeMaterialInputContainer_t

OffsetFieldTypeFromAnnotations
0x0m_bEnabledboolMPropertyAutoRebuildOnChange MPropertyFriendlyName Enabled
0x4m_nCompositeMaterialInputContainerSourceTypeCompositeMaterialInputContainerSourceType_tMPropertyAttrStateCallback MPropertyAutoRebuildOnChange MPropertyFriendlyName Input Container Source
0x8m_strSpecificContainerMaterialCResourceNameTyped< CWeakHandle< InfoForResourceTypeIMaterial2 > >MPropertyAttrStateCallback MPropertyFriendlyName Specific Material
0xe8m_strAttrNameCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Attribute Name
0xf0m_strAliasCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Alias
0xf8m_vecLooseVariablesCUtlVector< CompositeMaterialInputLooseVariable_t >MPropertyAttrStateCallback MPropertyFriendlyName Variables
0x110m_strAttrNameForVarCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Attribute Name
0x118m_bExposeExternallyboolMPropertyAttrStateCallback MPropertyFriendlyName Expose Externally
KV3 class defaults
{
	"m_bEnabled": true,
	"m_nCompositeMaterialInputContainerSourceType": "CONTAINER_SOURCE_TYPE_TARGET_MATERIAL",
	"m_strSpecificContainerMaterial": "",
	"m_strAttrName": "",
	"m_strAlias": "",
	"m_vecLooseVariables":
	[
	],
	"m_strAttrNameForVar": "",
	"m_bExposeExternally": false
}