24 #ifndef PXR_USD_AR_ASSET_H
25 #define PXR_USD_AR_ASSET_H
54 virtual size_t GetSize()
const = 0;
65 virtual std::shared_ptr<const char>
GetBuffer()
const = 0;
112 #endif // PXR_USD_AR_ASSET_H
ArAsset & operator=(const ArAsset &)=delete
virtual AR_API std::shared_ptr< ArAsset > GetDetachedAsset() const
virtual AR_API std::shared_ptr< const char > GetBuffer() const =0
virtual AR_API size_t GetSize() const =0
Returns size of the asset.
virtual AR_API size_t Read(void *buffer, size_t count, size_t offset) const =0
virtual AR_API ~ArAsset()
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
virtual AR_API std::pair< FILE *, size_t > GetFileUnsafe() const =0