MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / read32

Function read32

physx/samples/sampleframework/renderer/src/Renderer.cpp:916–924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

914}
915
916static PxU32 read32(File* fp)
917{
918 PxU32 data;
919 size_t numRead = fread(&data, 1, 4, fp);
920 if(numRead != 4) { fclose(fp); return 0; }
921 if(gFlip)
922 Flip(data);
923 return data;
924}
925
926bool FntData::Load(Renderer& renderer, const char* filename)
927{

Callers 1

LoadMethod · 0.70

Calls 1

FlipFunction · 0.70

Tested by

no test coverage detected