Skip to content

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
Relationship diagram (2 edges)
classDiagram
    CColorCorrectionLayer <|-- CVignetteLayer
    CVignetteLayer *-- PostProcessingVignetteParameters_t
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

5 fields, 1 declared here and 4 inherited. Offsets are absolute from the object base on windows-x86_64.

CColorCorrectionLayerCVignetteLayer

OffsetFieldTypeFromAnnotations
0x8m_nameCUtlStringCColorCorrectionLayer
0x10m_nOpacityPercentint32CColorCorrectionLayer
0x14m_bVisibleboolCColorCorrectionLayer
0x18m_pLayerMaskCLayerMask*CColorCorrectionLayer
0x28m_paramsPostProcessingVignetteParameters_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
		]
	}
}