MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / calculateSize

Method calculateSize

Engine/source/ts/tsMesh.cpp:3408–3414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3406}
3407
3408void TSBasicVertexFormat::calculateSize()
3409{
3410 GFXVertexFormat fmt;
3411 vertexSize = 0;
3412 getFormat(fmt);
3413 vertexSize = fmt.getSizeInBytes();
3414}
3415
3416void TSBasicVertexFormat::writeAlloc(TSShapeAlloc* alloc)
3417{

Callers

nothing calls this directly

Calls 1

getSizeInBytesMethod · 0.45

Tested by

no test coverage detected