Skip to content

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_t
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

ModelMeshBufferData_t

OffsetFieldTypeFromAnnotations
0x0m_nBlockIndexint32
0x4m_nElementCountuint32
0x8m_nElementSizeInBytesuint32
0xcm_bMeshoptCompressedbool
0xdm_bMeshoptIndexSequencebool
0xem_nMeshoptMeshletEncodeVersionint8
0xfm_bCompressedZSTDbool
0x10m_bCreateBufferSRVbool
0x11m_bCreateBufferUAVbool
0x12m_bCreateRawBufferbool
0x13m_bCreatePooledBufferbool
0x14m_nBufferUsageuint8
0x18m_inputLayoutFieldsCUtlVector< 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":
	[
	]
}