MCPcopy Create free account
hub / github.com/Autodesk/Aurora / ResolverAsset

Method ResolverAsset

Libraries/ImageProcessingResolver/Resolver.h:100–104  ·  view source on GitHub ↗

Ctor will copy contents of pData to newly allocated asset buffer.

Source from the content-addressed store, hash-verified

98public:
99 // Ctor will copy contents of pData to newly allocated asset buffer.
100 ResolverAsset(void* pData, size_t size) : _pData(new char[size], std::default_delete<char[]>())
101 {
102 memcpy(_pData.get(), pData, size);
103 _size = size;
104 }
105
106 // Get size of asset in bytes.
107 virtual size_t GetSize() const override { return _size; }

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected