MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / iModelFileNew

Function iModelFileNew

src/SB/Core/gc/iModel.cpp:127–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127RpAtomic* iModelFileNew(void* buffer, U32 size)
128{
129 RwMemory rwmem;
130 rwmem.start = (U8*)buffer;
131 rwmem.length = size;
132
133 return iModelStreamRead(RwStreamOpen(rwSTREAMMEMORY, rwSTREAMREAD, &rwmem));
134}
135
136void iModelUnload(RpAtomic* userdata)
137{

Callers 2

iCSLoadStepFunction · 0.70
Model_ReadFunction · 0.50

Calls 1

iModelStreamReadFunction · 0.85

Tested by

no test coverage detected