Base interface for a file stream. More...
#include <FileStream.h>
Public Member Functions | |
| virtual bool DILIGENT_CALL_TYPE | Read (void *Data, size_t BufferSize)=0 |
| Reads data from the stream. | |
| virtual bool DILIGENT_CALL_TYPE | Write (const void *Data, size_t Size)=0 |
| Writes data to the stream. | |
Public Member Functions inherited from Diligent.IObject | |
| virtual void DILIGENT_CALL_TYPE | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
| Queries the specific interface. | |
| template<typename DerivedType, typename = typename std::enable_if<std::is_base_of<IObject, DerivedType>::value>::type> | |
| void | QueryInterface (const INTERFACE_ID &IID, DerivedType **ppInterface) |
| virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | AddRef ()=0 |
| Increments the number of strong references by 1. | |
| virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | Release ()=0 |
| virtual IReferenceCounters *DILIGENT_CALL_TYPE | GetReferenceCounters () const =0 |
Base interface for a file stream.