MCPcopy Create free account
hub / github.com/RenderKit/embree / fread_uchar

Function fread_uchar

tutorials/common/image/tga.cpp:43–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 inline unsigned char fread_uchar (std::fstream& file) { unsigned char v; file.read((char*)&v,sizeof(v)); return v; }
44 inline unsigned short fread_ushort(std::fstream& file) { unsigned short v; file.read((char*)&v,sizeof(v)); return v; }
45
46 /*! read TGA file from disk */

Callers 1

loadTGAFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected