Diligent Engine API Reference
Public Member Functions | List of all members
Diligent::IDataBlob Class Referenceabstract

Base interface for a file stream. More...

Inheritance diagram for Diligent::IDataBlob:
Diligent::IObject Diligent::RefCountedObject< IDataBlob, IMemoryAllocator > Diligent::ObjectBase< IDataBlob, IMemoryAllocator > Diligent::DataBlobImpl

Public Member Functions

virtual void Resize (size_t NewSize)=0
 Sets the size of the internal data buffer.
 
virtual size_t GetSize ()=0
 Returns the size of the internal data buffer.
 
virtual void * GetDataPtr ()=0
 Returns the pointer to the internal data buffer.
 
- 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 IReferenceCountersGetReferenceCounters () 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.
 

Detailed Description

Base interface for a file stream.