Skip to content

BakedLightingInfo_t

CS2 build 27045800 · Steam date 2026-11-30 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 72 bytes (0x48)Alignment: 8 bytesModule: worldrendererBinary: !GlobalTypes

Relationships

Inherits from: nothing; this is a root class.

Used by (3) as a field type

Inheritance tree
  • BakedLightingInfo_t
Relationship diagram (2 edges)
classDiagram
    BakedLightingInfo_t *-- InfoForResourceTypeCTextureBase
    BakedLightingInfo_t *-- `BakedLightingInfo_t::BakedShadowAssignment_t`
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

12 fields, 12 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.

BakedLightingInfo_t

OffsetFieldTypeFromAnnotations
0x0m_nLightmapVersionNumberuint32
0x4m_nLightmapGameVersionNumberuint32
0x8m_vLightmapUvScaleVector2D
0x10m_bHasLightmapsbool
0x11m_bBakedShadowsGamma20bool
0x12m_bCompressionEnabledbool
0x13m_nLPVEncodingint8
0x14m_nLightmapEncodingint8
0x15m_nChartPackIterationsuint8
0x16m_nVradQualityuint8
0x18m_lightMapsCUtlVector< CStrongHandle< InfoForResourceTypeCTextureBase > >
0x30m_bakedShadowsCUtlVector< BakedLightingInfo_t::BakedShadowAssignment_t >
KV3 class defaults
{
	"m_nLightmapVersionNumber": 0,
	"m_nLightmapGameVersionNumber": 0,
	"m_vLightmapUvScale":
	[
		1.000000,
		1.000000
	],
	"m_bHasLightmaps": false,
	"m_bBakedShadowsGamma20": false,
	"m_bCompressionEnabled": false,
	"m_nLPVEncoding": -1,
	"m_nLightmapEncoding": -1,
	"m_nChartPackIterations": 0,
	"m_nVradQuality": 0,
	"m_lightMaps":
	[
	],
	"m_bakedShadows":
	[
	]
}