ModelMeshBufferData_t
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 48 bytes (0x30)Alignment: 8 bytesModule: modellibBinary: !GlobalTypes
Relationships
Inherits from: nothing; this is a root class.
Used by (1) as a field type
Inheritance tree
- ModelMeshBufferData_t
Relationship diagram (1 edges)
classDiagram
ModelMeshBufferData_t *-- RenderInputLayoutField_tMemory layout
13 fields, 13 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
ModelMeshBufferData_t
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_nBlockIndex | int32 | ||
0x4 | m_nElementCount | uint32 | ||
0x8 | m_nElementSizeInBytes | uint32 | ||
0xc | m_bMeshoptCompressed | bool | ||
0xd | m_bMeshoptIndexSequence | bool | ||
0xe | m_nMeshoptMeshletEncodeVersion | int8 | ||
0xf | m_bCompressedZSTD | bool | ||
0x10 | m_bCreateBufferSRV | bool | ||
0x11 | m_bCreateBufferUAV | bool | ||
0x12 | m_bCreateRawBuffer | bool | ||
0x13 | m_bCreatePooledBuffer | bool | ||
0x14 | m_nBufferUsage | uint8 | ||
0x18 | m_inputLayoutFields | CUtlVector< RenderInputLayoutField_t > |
KV3 class defaults
{
"m_nBlockIndex": -1,
"m_nElementCount": 0,
"m_nElementSizeInBytes": 0,
"m_bMeshoptCompressed": false,
"m_bMeshoptIndexSequence": false,
"m_nMeshoptMeshletEncodeVersion": -1,
"m_bCompressedZSTD": false,
"m_bCreateBufferSRV": false,
"m_bCreateBufferUAV": false,
"m_bCreateRawBuffer": false,
"m_bCreatePooledBuffer": false,
"m_nBufferUsage": 0,
"m_inputLayoutFields":
[
]
}