Skip to content

CompositeMaterialInputLooseVariable_t

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

Kind: classSize: 648 bytes (0x288)Alignment: 8 bytesModule: compositematerialslibBinary: !GlobalTypes

Metadata: MPropertyElementNameFn

Relationships

Inherits from: nothing; this is a root class.

Used by (2) as a field type

Inheritance tree
  • CompositeMaterialInputLooseVariable_t
Relationship diagram (2 edges)
classDiagram
    CompositeMaterialInputLooseVariable_t *-- InfoForResourceTypeIMaterial2
    CompositeMaterialInputLooseVariable_t *-- InfoForResourceTypeCTextureBase
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CompositeMaterialInputLooseVariable_t

OffsetFieldTypeFromAnnotations
0x0m_strNameCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Name
0x8m_bExposeExternallyboolMPropertyAutoRebuildOnChange MPropertyFriendlyName Expose Externally
0x10m_strExposedFriendlyNameCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Exposed Friendly Name
0x18m_strExposedFriendlyGroupNameCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Exposed Friendly Group
0x20m_bExposedVariableIsFixedRangeboolMPropertyAttrStateCallback MPropertyFriendlyName Exposed Fixed Range
0x28m_strExposedVisibleWhenTrueCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Exposed SetVisible When True
0x30m_strExposedHiddenWhenTrueCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Exposed SetHidden When True
0x38m_strExposedValueListCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Exposed Value List
0x40m_nVariableTypeCompositeMaterialInputLooseVariableType_tMPropertyAutoRebuildOnChange MPropertyFriendlyName Type
0x44m_bValueBooleanboolMPropertyAttrStateCallback MPropertyFriendlyName Value
0x48m_nValueIntXint32MPropertyAttrStateCallback MPropertyAttributeRange 0 255 MPropertyFriendlyName X Value
0x4cm_nValueIntYint32MPropertyAttrStateCallback MPropertyAttributeRange 0 255 MPropertyFriendlyName Y Value
0x50m_nValueIntZint32MPropertyAttrStateCallback MPropertyAttributeRange 0 255 MPropertyFriendlyName Z Value
0x54m_nValueIntWint32MPropertyAttrStateCallback MPropertyAttributeRange 0 255 MPropertyFriendlyName W Value
0x58m_bHasFloatBoundsboolMPropertyAttrStateCallback MPropertyFriendlyName Specify Min/Max
0x5cm_flValueFloatXfloat32MPropertyAttrStateCallback MPropertyAttributeRange 0.0 1.0 MPropertyFriendlyName X Value
0x60m_flValueFloatX_Minfloat32MPropertyAttrStateCallback MPropertyFriendlyName X Min
0x64m_flValueFloatX_Maxfloat32MPropertyAttrStateCallback MPropertyFriendlyName X Max
0x68m_flValueFloatYfloat32MPropertyAttrStateCallback MPropertyAttributeRange 0.0 1.0 MPropertyFriendlyName Y Value
0x6cm_flValueFloatY_Minfloat32MPropertyAttrStateCallback MPropertyFriendlyName Y Min
0x70m_flValueFloatY_Maxfloat32MPropertyAttrStateCallback MPropertyFriendlyName Y Max
0x74m_flValueFloatZfloat32MPropertyAttrStateCallback MPropertyAttributeRange 0.0 1.0 MPropertyFriendlyName Z Value
0x78m_flValueFloatZ_Minfloat32MPropertyAttrStateCallback MPropertyFriendlyName Z Min
0x7cm_flValueFloatZ_Maxfloat32MPropertyAttrStateCallback MPropertyFriendlyName Z Max
0x80m_flValueFloatWfloat32MPropertyAttrStateCallback MPropertyAttributeRange 0.0 1.0 MPropertyFriendlyName W Value
0x84m_flValueFloatW_Minfloat32MPropertyAttrStateCallback MPropertyFriendlyName W Min
0x88m_flValueFloatW_Maxfloat32MPropertyAttrStateCallback MPropertyFriendlyName W Max
0x8cm_cValueColor4ColorMPropertyAttrStateCallback MPropertyFriendlyName Value
0x90m_nValueSystemVarCompositeMaterialVarSystemVar_tMPropertyAttrStateCallback MPropertyFriendlyName Value
0x98m_strResourceMaterialCResourceNameTyped< CWeakHandle< InfoForResourceTypeIMaterial2 > >MPropertyAttrStateCallback MPropertyFriendlyName Material
0x178m_strTextureContentAssetPathCUtlStringMPropertyAttrStateCallback MPropertyAttributeEditor AssetBrowse( jpg, png, psd, tga ) MPropertyFriendlyName Texture
0x180m_strTextureRuntimeResourcePathCResourceNameTyped< CWeakHandle< InfoForResourceTypeCTextureBase > >MPropertyHideField
0x260m_strTextureCompilationVtexTemplateCUtlStringMPropertyHideField
0x268m_nTextureTypeCompositeMaterialInputTextureType_tMPropertyAttrStateCallback MPropertyFriendlyName Texture Type
0x270m_strStringCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName String
0x278m_strPanoramaPanelPathCUtlStringMPropertyAttrStateCallback MPropertyFriendlyName Layout XML
0x280m_nPanoramaRenderResint32MPropertyAttrStateCallback MPropertyFriendlyName Render Resolution
KV3 class defaults
{
	"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
}