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

Function fread_ushort

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

Source from the content-addressed store, hash-verified

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 */
47 Ref<Image> loadTGA(const FileName& fileName)

Callers 1

loadTGAFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected