Skip to content

CLevelsColorCorrectionLayer

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

Kind: classSize: 120 bytes (0x78)Alignment: 8 bytesModule: resourcecompilerBinary: !GlobalTypes

Relationships

Inherits from: CColorCorrectionLayer

Inheritance tree
Relationship diagram (1 edges)
classDiagram
    CColorCorrectionLayer <|-- CLevelsColorCorrectionLayer
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CColorCorrectionLayerCLevelsColorCorrectionLayer

OffsetFieldTypeFromAnnotations
0x8m_nameCUtlStringCColorCorrectionLayer
0x10m_nOpacityPercentint32CColorCorrectionLayer
0x14m_bVisibleboolCColorCorrectionLayer
0x18m_pLayerMaskCLayerMask*CColorCorrectionLayer
0x28m_nInputBlackPointRGBint32
0x2cm_nInputBlackPointRint32
0x30m_nInputBlackPointGint32
0x34m_nInputBlackPointBint32
0x38m_nInputWhitePointRGBint32
0x3cm_nInputWhitePointRint32
0x40m_nInputWhitePointGint32
0x44m_nInputWhitePointBint32
0x48m_nOutputBlackPointRGBint32
0x4cm_nOutputBlackPointRint32
0x50m_nOutputBlackPointGint32
0x54m_nOutputBlackPointBint32
0x58m_nOutputWhitePointRGBint32
0x5cm_nOutputWhitePointRint32
0x60m_nOutputWhitePointGint32
0x64m_nOutputWhitePointBint32
0x68m_flGammaRGBfloat32
0x6cm_flGammaRfloat32
0x70m_flGammaGfloat32
0x74m_flGammaBfloat32
KV3 class defaults
{
	"_class": "CLevelsColorCorrectionLayer",
	"m_name": "Levels 1",
	"m_nOpacityPercent": 100,
	"m_bVisible": true,
	"m_pLayerMask": null,
	"m_nInputBlackPointRGB": 0,
	"m_nInputBlackPointR": 0,
	"m_nInputBlackPointG": 0,
	"m_nInputBlackPointB": 0,
	"m_nInputWhitePointRGB": 255,
	"m_nInputWhitePointR": 255,
	"m_nInputWhitePointG": 255,
	"m_nInputWhitePointB": 255,
	"m_nOutputBlackPointRGB": 0,
	"m_nOutputBlackPointR": 0,
	"m_nOutputBlackPointG": 0,
	"m_nOutputBlackPointB": 0,
	"m_nOutputWhitePointRGB": 255,
	"m_nOutputWhitePointR": 255,
	"m_nOutputWhitePointG": 255,
	"m_nOutputWhitePointB": 255,
	"m_flGammaRGB": 1.000000,
	"m_flGammaR": 1.000000,
	"m_flGammaG": 1.000000,
	"m_flGammaB": 1.000000
}