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

Base interface for a file stream. More...

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

Public Member Functions

virtual void QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface) override
 Queries the specific interface. More...
 
virtual void Resize (size_t NewSize) override
 Sets the size of the internal data buffer.
 
virtual size_t GetSize () override
 Returns the size of the internal data buffer.
 
virtual void * GetDataPtr () override
 Returns the pointer to the internal data buffer.
 
- Public Member Functions inherited from Diligent::RefCountedObject< IDataBlob, IMemoryAllocator >
virtual IReferenceCountersGetReferenceCounters () const override final
 
virtual Atomics::Long AddRef () override
 
virtual Atomics::Long Release () override
 

Detailed Description

Base interface for a file stream.

Member Function Documentation

virtual void Diligent::DataBlobImpl::QueryInterface ( const Diligent::INTERFACE_ID IID,
IObject **  ppInterface 
)
overridevirtual

Queries the specific interface.

Parameters
[in]IID- Unique identifier of the requested interface.
[out]ppInterface- Memory address where the pointer to the requested interface will be written. If the interface is not supported, null pointer will be returned.
Remarks
The method increments the number of strong references by 1. The interface must be released by a call to Release() method when it is no longer needed.

Reimplemented from Diligent::ObjectBase< IDataBlob, IMemoryAllocator >.