Resolved asset bytes and their canonical identity. More...
#include <RadientAssetResolver.h>
Public Member Functions | |
| virtual const void *DILIGENT_CALL_TYPE | GetData () const =0 |
| Returns a read-only pointer to the resolved asset data. | |
| virtual size_t DILIGENT_CALL_TYPE | GetSize () const =0 |
| Returns the size of the resolved asset data, in bytes. | |
| virtual const Char *DILIGENT_CALL_TYPE | GetResolvedURI () const =0 |
| 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 |
Resolved asset bytes and their canonical identity.
|
pure virtual |
Returns the final resolved URI used for dependency resolution and diagnostics. The returned string is never null. It may differ from the location passed to OpenAsset() after a redirect. Use it as BaseURI for dependencies; the original location remains unchanged and identifies the request for caching.