MCPcopy Create free account
hub / github.com/MBU-Team/OpenMBU / SetupBuffers

Method SetupBuffers

engine/source/game/fx/fxFoliageReplicator.cpp:924–1011  ·  view source on GitHub ↗

Ok, what we do is let the older code setup the FoliageItem list and the QuadTree. Then we build the Vertex and Primitive buffers here. It would probably be slightly more memory efficient to build the buffers directly, but we want to sort the items within the buffer by the quadtreenodes

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

Point2FClass · 0.85
Point3FClass · 0.50
dMemcpyFunction · 0.50
setMethod · 0.45
lockMethod · 0.45
unlockMethod · 0.45
sizeMethod · 0.45
getPositionMethod · 0.45

Tested by

no test coverage detected