 |
Flutter Impeller
|
|
Go to the documentation of this file.
5 #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_RENDER_PASS_BUILDER_VK_H_
6 #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_RENDER_PASS_BUILDER_VK_H_
43 vk::UniqueRenderPass
Build(
const vk::Device& device)
const;
50 const std::map<size_t, vk::AttachmentDescription>&
GetResolves()
const;
53 const std::optional<vk::AttachmentDescription>&
GetDepthStencil()
const;
56 std::map<size_t, vk::AttachmentDescription> colors_;
57 std::map<size_t, vk::AttachmentDescription> resolves_;
58 std::optional<vk::AttachmentDescription> depth_stencil_;
77 const vk::Image& image);
81 #endif // FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_RENDER_PASS_BUILDER_VK_H_
RenderPassBuilderVK & SetStencilAttachment(PixelFormat format, SampleCount sample_count, LoadAction load_action, StoreAction store_action)
const std::map< size_t, vk::AttachmentDescription > & GetColorAttachments() const
RenderPassBuilderVK & operator=(const RenderPassBuilderVK &)=delete
PixelFormat
The Pixel formats supported by Impeller. The naming convention denotes the usage of the component,...
RenderPassBuilderVK & SetDepthStencilAttachment(PixelFormat format, SampleCount sample_count, LoadAction load_action, StoreAction store_action)
const std::optional< vk::AttachmentDescription > & GetDepthStencil() const
void InsertBarrierForInputAttachmentRead(const vk::CommandBuffer &buffer, const vk::Image &image)
Inserts the appropriate barriers to ensure that subsequent commands can read from the specified image...
const std::map< size_t, vk::AttachmentDescription > & GetResolves() const
RenderPassBuilderVK & SetColorAttachment(size_t index, PixelFormat format, SampleCount sample_count, LoadAction load_action, StoreAction store_action)
vk::UniqueRenderPass Build(const vk::Device &device) const