Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::BinaryFileReader Class Reference

#include <BinaryFileReader.h>

Public Member Functions

 BinaryFileReader (const Path &filePath)
 
virtual ~BinaryFileReader ()
 
bool open ()
 
void close ()
 
template<typename T >
void read (T *out_buffer, std::size_t numElements=1)
 

Constructor & Destructor Documentation

◆ BinaryFileReader()

ph::BinaryFileReader::BinaryFileReader ( const Path & filePath)
inlineexplicit

◆ ~BinaryFileReader()

ph::BinaryFileReader::~BinaryFileReader ( )
inlinevirtual

Member Function Documentation

◆ close()

void ph::BinaryFileReader::close ( )
inline

◆ open()

bool ph::BinaryFileReader::open ( )

◆ read()

template<typename T >
void ph::BinaryFileReader::read ( T * out_buffer,
std::size_t numElements = 1 )
inline

The documentation for this class was generated from the following files: