CVoxelVisibility
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 160 bytes (0xa0)Alignment: 8 bytesModule: worldrendererBinary: !GlobalTypes
Relationships
Inherits from: nothing; this is a root class.
Inheritance tree
- CVoxelVisibility
Relationship diagram (1 edges)
classDiagram
CVoxelVisibility *-- VoxelVisBlockOffset_tMemory layout
13 fields, 13 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CVoxelVisibility
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x40 | m_nBaseClusterCount | uint32 | ||
0x44 | m_nPVSBytesPerCluster | uint32 | ||
0x48 | m_vMinBounds | Vector | ||
0x54 | m_vMaxBounds | Vector | ||
0x60 | m_flGridSize | float32 | ||
0x64 | m_nSkyVisibilityCluster | uint32 | ||
0x68 | m_nSunVisibilityCluster | uint32 | ||
0x6c | m_NodeBlock | VoxelVisBlockOffset_t | ||
0x74 | m_RegionBlock | VoxelVisBlockOffset_t | ||
0x7c | m_EnclosedClusterListBlock | VoxelVisBlockOffset_t | ||
0x84 | m_EnclosedClustersBlock | VoxelVisBlockOffset_t | ||
0x8c | m_MasksBlock | VoxelVisBlockOffset_t | ||
0x94 | m_nVisBlocks | VoxelVisBlockOffset_t |
KV3 class defaults
{
"m_nBaseClusterCount": 0,
"m_nPVSBytesPerCluster": 0,
"m_vMinBounds":
[
0.000000,
0.000000,
0.000000
],
"m_vMaxBounds":
[
0.000000,
0.000000,
0.000000
],
"m_flGridSize": 0.000000,
"m_nSkyVisibilityCluster": 0,
"m_nSunVisibilityCluster": 0,
"m_NodeBlock":
{
"m_nOffset": 0,
"m_nElementCount": 0
},
"m_RegionBlock":
{
"m_nOffset": 0,
"m_nElementCount": 0
},
"m_EnclosedClusterListBlock":
{
"m_nOffset": 0,
"m_nElementCount": 0
},
"m_EnclosedClustersBlock":
{
"m_nOffset": 0,
"m_nElementCount": 0
},
"m_MasksBlock":
{
"m_nOffset": 0,
"m_nElementCount": 0
},
"m_nVisBlocks":
{
"m_nOffset": 0,
"m_nElementCount": 0
}
}