MCPcopy Create free account
hub / github.com/OGRECave/ogre / readChunkBegin

Method readChunkBegin

OgreMain/src/OgreStreamSerialiser.cpp:164–178  ·  view source on GitHub ↗

---------------------------------------------------------------------

Source from the content-addressed store, hash-verified

162 }
163 //---------------------------------------------------------------------
164 const StreamSerialiser::Chunk* StreamSerialiser::readChunkBegin()
165 {
166 // Have we figured out the endian mode yet?
167 if (mReadWriteHeader)
168 readHeader();
169
170 OgreAssert(mEndian != ENDIAN_AUTO,
171 "Endian mode has not been determined, did you disable header without setting?");
172
173 Chunk* chunk = readChunkImpl();
174 mChunkStack.push_back(chunk);
175
176 return chunk;
177
178 }
179 //---------------------------------------------------------------------
180 const StreamSerialiser::Chunk* StreamSerialiser::readChunkBegin(
181 uint32 id, uint16 maxVersion, const String& msg)

Callers 14

HalfFloatGridSourceMethod · 0.80
loadMethod · 0.80
prepareMethod · 0.80
loadMethod · 0.80
loadMethod · 0.80
prepareImplMethod · 0.80
loadMethod · 0.80
readLodDataMethod · 0.80
readLayerDeclarationMethod · 0.80
readLayerInstanceListMethod · 0.80
prepareMethod · 0.80
loadGroupDefinitionMethod · 0.80

Calls 2

push_backMethod · 0.45
streamMethod · 0.45

Tested by 1

TESTFunction · 0.64