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

Function fwrite_ushort

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

Source from the content-addressed store, hash-verified

9{
10 inline void fwrite_uchar (unsigned char v, std::fstream& file) { file.write((const char*)&v,sizeof(v)); }
11 inline void fwrite_ushort(unsigned short v, std::fstream& file) { file.write((const char*)&v,sizeof(v)); }
12
13 void storeTga(const Ref<Image>& img, const FileName& fileName)
14 {

Callers 1

storeTgaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected