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
CColorCorrectionLayer
- CLevelsColorCorrectionLayer
Relationship diagram (1 edges)
classDiagram
CColorCorrectionLayer <|-- CLevelsColorCorrectionLayerMemory layout
24 fields, 20 declared here and 4 inherited. Offsets are absolute from the object base on windows-x86_64.
CColorCorrectionLayerCLevelsColorCorrectionLayer
| 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_nInputBlackPointRGB | int32 | ||
0x2c | m_nInputBlackPointR | int32 | ||
0x30 | m_nInputBlackPointG | int32 | ||
0x34 | m_nInputBlackPointB | int32 | ||
0x38 | m_nInputWhitePointRGB | int32 | ||
0x3c | m_nInputWhitePointR | int32 | ||
0x40 | m_nInputWhitePointG | int32 | ||
0x44 | m_nInputWhitePointB | int32 | ||
0x48 | m_nOutputBlackPointRGB | int32 | ||
0x4c | m_nOutputBlackPointR | int32 | ||
0x50 | m_nOutputBlackPointG | int32 | ||
0x54 | m_nOutputBlackPointB | int32 | ||
0x58 | m_nOutputWhitePointRGB | int32 | ||
0x5c | m_nOutputWhitePointR | int32 | ||
0x60 | m_nOutputWhitePointG | int32 | ||
0x64 | m_nOutputWhitePointB | int32 | ||
0x68 | m_flGammaRGB | float32 | ||
0x6c | m_flGammaR | float32 | ||
0x70 | m_flGammaG | float32 | ||
0x74 | m_flGammaB | float32 |
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
}