IAssetProvider.h#

Contains the IAssetProvider interface, which decouples the Shell file retrieval functions from the Shell class.

Detailed Description#

PowerVR by Imagination, Developer Technology Team.

Copyright (c) Imagination Technologies Limited.

Includes#

Included By#

Namespaces#

Classes#

Source Code#

#pragma once

#include <cstdint>
#include <string>
#include <memory>

namespace pvr {
class Stream;
class IAssetProvider
{
public:
    virtual std::unique_ptr<Stream> getAssetStream(const std::string& filename, bool logErrorOnNotFound = true) const = 0;
};
} // namespace pvr