blob: e8bf66716eb08b03bb568d0aed53eb2a5a836da5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#pragma once
#include "Resource.hpp"
namespace cru::platform::graphics {
struct CRU_PLATFORM_GRAPHICS_API IImage : public virtual IGraphicsResource {
virtual float GetWidth() = 0;
virtual float GetHeight() = 0;
virtual std::unique_ptr<IImage> CreateWithRect(const Rect& rect) = 0;
};
} // namespace cru::platform::graphics
|