26 lines
550 B
C++
26 lines
550 B
C++
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "Base/Wrapper.hpp"
|
|
#include "Math/Math.hpp"
|
|
#include "Scene/DataFormat.hpp"
|
|
|
|
namespace OpenVulkano
|
|
{
|
|
namespace Scene
|
|
{
|
|
class Texture;
|
|
}
|
|
|
|
class IResourceManager
|
|
{
|
|
public:
|
|
[[nodiscard]] virtual Unique<Scene::Texture> CreateSharedMemoryTexture(const Math::Vector3ui& resolution, DataFormat format) = 0;
|
|
};
|
|
}
|