5 #include "ObjectHandle.hpp"
22 mn::handle_t handle, allocation, view;
27 mn::handle_t imgui_ds;
40 R16G16B16A16_SFLOAT = 97
48 bool hasDepthAttachment()
const
50 return depth_attachment.has_value();
54 getDepthAttachment()
const
56 return *depth_attachment;
62 return *depth_attachment;
66 getColorAttachments()
const
68 return color_attachments;
74 return color_attachments;
78 friend struct ImageFactory;
82 std::vector<Attachment> color_attachments;
83 std::optional<Attachment> depth_attachment;
90 template<Image::Type T>
94 template<Image::Type T>
96 addImage(handle_t handle, u32 format,
const Math::Vec2u& size);
102 std::unique_ptr<Image> image;
Definition: Vector.hpp:12