CVignetteLayer
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 80 bytes (0x50)Alignment: 8 bytesModule: resourcecompilerBinary: !GlobalTypes
Relationships
Inherits from: CColorCorrectionLayer
Inheritance tree
CColorCorrectionLayer
- CVignetteLayer
Relationship diagram (2 edges)
classDiagram
CColorCorrectionLayer <|-- CVignetteLayer
CVignetteLayer *-- PostProcessingVignetteParameters_tMemory layout
5 fields, 1 declared here and 4 inherited. Offsets are absolute from the object base on windows-x86_64.
CColorCorrectionLayerCVignetteLayer
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_name | CUtlString | CColorCorrectionLayer | |
0x10 | m_nOpacityPercent | int32 | CColorCorrectionLayer | |
0x14 | m_bVisible | bool | CColorCorrectionLayer | |
0x18 | m_pLayerMask | CLayerMask* | CColorCorrectionLayer | |
0x28 | m_params | PostProcessingVignetteParameters_t |
KV3 class defaults
{
"_class": "CVignetteLayer",
"m_name": "Vignette 1",
"m_nOpacityPercent": 100,
"m_bVisible": true,
"m_pLayerMask": null,
"m_params":
{
"m_flVignetteStrength": 0.000000,
"m_vCenter":
[
0.000000,
0.000000
],
"m_flRadius": 0.500000,
"m_flRoundness": 1.000000,
"m_flFeather": 0.500000,
"m_vColorTint":
[
1.000000,
1.000000,
1.000000
]
}
}