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 *-- InfoForResourceTypeCTextureBaseMemory layout
37 fields, 37 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CompositeMaterialInputLooseVariable_t
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_strName | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Name | |
0x8 | m_bExposeExternally | bool | MPropertyAutoRebuildOnChange MPropertyFriendlyName Expose Externally | |
0x10 | m_strExposedFriendlyName | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Exposed Friendly Name | |
0x18 | m_strExposedFriendlyGroupName | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Exposed Friendly Group | |
0x20 | m_bExposedVariableIsFixedRange | bool | MPropertyAttrStateCallback MPropertyFriendlyName Exposed Fixed Range | |
0x28 | m_strExposedVisibleWhenTrue | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Exposed SetVisible When True | |
0x30 | m_strExposedHiddenWhenTrue | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Exposed SetHidden When True | |
0x38 | m_strExposedValueList | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Exposed Value List | |
0x40 | m_nVariableType | CompositeMaterialInputLooseVariableType_t | MPropertyAutoRebuildOnChange MPropertyFriendlyName Type | |
0x44 | m_bValueBoolean | bool | MPropertyAttrStateCallback MPropertyFriendlyName Value | |
0x48 | m_nValueIntX | int32 | MPropertyAttrStateCallback MPropertyAttributeRange 0 255 MPropertyFriendlyName X Value | |
0x4c | m_nValueIntY | int32 | MPropertyAttrStateCallback MPropertyAttributeRange 0 255 MPropertyFriendlyName Y Value | |
0x50 | m_nValueIntZ | int32 | MPropertyAttrStateCallback MPropertyAttributeRange 0 255 MPropertyFriendlyName Z Value | |
0x54 | m_nValueIntW | int32 | MPropertyAttrStateCallback MPropertyAttributeRange 0 255 MPropertyFriendlyName W Value | |
0x58 | m_bHasFloatBounds | bool | MPropertyAttrStateCallback MPropertyFriendlyName Specify Min/Max | |
0x5c | m_flValueFloatX | float32 | MPropertyAttrStateCallback MPropertyAttributeRange 0.0 1.0 MPropertyFriendlyName X Value | |
0x60 | m_flValueFloatX_Min | float32 | MPropertyAttrStateCallback MPropertyFriendlyName X Min | |
0x64 | m_flValueFloatX_Max | float32 | MPropertyAttrStateCallback MPropertyFriendlyName X Max | |
0x68 | m_flValueFloatY | float32 | MPropertyAttrStateCallback MPropertyAttributeRange 0.0 1.0 MPropertyFriendlyName Y Value | |
0x6c | m_flValueFloatY_Min | float32 | MPropertyAttrStateCallback MPropertyFriendlyName Y Min | |
0x70 | m_flValueFloatY_Max | float32 | MPropertyAttrStateCallback MPropertyFriendlyName Y Max | |
0x74 | m_flValueFloatZ | float32 | MPropertyAttrStateCallback MPropertyAttributeRange 0.0 1.0 MPropertyFriendlyName Z Value | |
0x78 | m_flValueFloatZ_Min | float32 | MPropertyAttrStateCallback MPropertyFriendlyName Z Min | |
0x7c | m_flValueFloatZ_Max | float32 | MPropertyAttrStateCallback MPropertyFriendlyName Z Max | |
0x80 | m_flValueFloatW | float32 | MPropertyAttrStateCallback MPropertyAttributeRange 0.0 1.0 MPropertyFriendlyName W Value | |
0x84 | m_flValueFloatW_Min | float32 | MPropertyAttrStateCallback MPropertyFriendlyName W Min | |
0x88 | m_flValueFloatW_Max | float32 | MPropertyAttrStateCallback MPropertyFriendlyName W Max | |
0x8c | m_cValueColor4 | Color | MPropertyAttrStateCallback MPropertyFriendlyName Value | |
0x90 | m_nValueSystemVar | CompositeMaterialVarSystemVar_t | MPropertyAttrStateCallback MPropertyFriendlyName Value | |
0x98 | m_strResourceMaterial | CResourceNameTyped< CWeakHandle< InfoForResourceTypeIMaterial2 > > | MPropertyAttrStateCallback MPropertyFriendlyName Material | |
0x178 | m_strTextureContentAssetPath | CUtlString | MPropertyAttrStateCallback MPropertyAttributeEditor AssetBrowse( jpg, png, psd, tga ) MPropertyFriendlyName Texture | |
0x180 | m_strTextureRuntimeResourcePath | CResourceNameTyped< CWeakHandle< InfoForResourceTypeCTextureBase > > | MPropertyHideField | |
0x260 | m_strTextureCompilationVtexTemplate | CUtlString | MPropertyHideField | |
0x268 | m_nTextureType | CompositeMaterialInputTextureType_t | MPropertyAttrStateCallback MPropertyFriendlyName Texture Type | |
0x270 | m_strString | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName String | |
0x278 | m_strPanoramaPanelPath | CUtlString | MPropertyAttrStateCallback MPropertyFriendlyName Layout XML | |
0x280 | m_nPanoramaRenderRes | int32 | MPropertyAttrStateCallback 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
}