Diligent Engine API Reference
|
Base interface for a file stream. More...
Public Member Functions | |
virtual bool | Read (void *Data, size_t BufferSize)=0 |
Reads data from the stream. | |
virtual bool | Write (const void *Data, size_t Size)=0 |
Writes data to the stream. | |
Public Member Functions inherited from Diligent::IObject | |
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface. More... | |
virtual Atomics::Long | AddRef ()=0 |
Increments the number of strong references by 1. More... | |
virtual Atomics::Long | Release ()=0 |
Decrements the number of strong references by 1 and destroys the object when the counter reaches zero. More... | |
virtual IReferenceCounters * | GetReferenceCounters () const =0 |
Returns the pointer to IReferenceCounters interface of the associated reference counters object. The metod does NOT increment the number of strong references to the returned object. | |
Base interface for a file stream.