15 #ifndef PHYSXFILESTREAM_H 16 #define PHYSXFILESTREAM_H 18 #include "pandabase.h" 19 #include "virtualFile.h" 22 #include "physx_includes.h" 34 virtual NxU8 readByte()
const;
35 virtual NxU16 readWord()
const;
36 virtual NxU32 readDword()
const;
37 virtual float readFloat()
const;
38 virtual double readDouble()
const;
39 virtual void readBuffer(
void *buffer, NxU32 size)
const;
41 virtual NxStream &storeByte(NxU8 b);
42 virtual NxStream &storeWord(NxU16 w);
43 virtual NxStream &storeDword(NxU32 d);
44 virtual NxStream &storeFloat(NxReal f);
45 virtual NxStream &storeDouble(NxF64 f);
46 virtual NxStream &storeBuffer(
const void *buffer, NxU32 size);
58 #endif // PHYSXFILESTREAM_H The abstract base class for a file or directory within the VirtualFileSystem.
The name of a file, such as a texture file or an Egg file.