Skip to content

CColorBalanceColorCorrectionLayer

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 (1 edges)
classDiagram
    CColorCorrectionLayer <|-- CColorBalanceColorCorrectionLayer
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CColorCorrectionLayerCColorBalanceColorCorrectionLayer

OffsetFieldTypeFromAnnotations
0x8m_nameCUtlStringCColorCorrectionLayer
0x10m_nOpacityPercentint32CColorCorrectionLayer
0x14m_bVisibleboolCColorCorrectionLayer
0x18m_pLayerMaskCLayerMask*CColorCorrectionLayer
0x28m_nRedCyanBalSint32
0x2cm_nRedCyanBalMint32
0x30m_nRedCyanBalHint32
0x34m_nGreenMagentaBalSint32
0x38m_nGreenMagentaBalMint32
0x3cm_nGreenMagentaBalHint32
0x40m_nBlueYellowBalSint32
0x44m_nBlueYellowBalMint32
0x48m_nBlueYellowBalHint32
0x4cm_bPreserveLuminositybool
KV3 class defaults
{
	"_class": "CColorBalanceColorCorrectionLayer",
	"m_name": "Color Balance 1",
	"m_nOpacityPercent": 100,
	"m_bVisible": true,
	"m_pLayerMask": null,
	"m_nRedCyanBalS": 0,
	"m_nRedCyanBalM": 0,
	"m_nRedCyanBalH": 0,
	"m_nGreenMagentaBalS": 0,
	"m_nGreenMagentaBalM": 0,
	"m_nGreenMagentaBalH": 0,
	"m_nBlueYellowBalS": 0,
	"m_nBlueYellowBalM": 0,
	"m_nBlueYellowBalH": 0,
	"m_bPreserveLuminosity": true
}