struct AttachmentInfo
Defined at line 97 of file ../../src/ui/lib/escher/third_party/granite/vk/render_pass_info.h
This is a helper struct used for creating RenderPasses without needing ImageViews for the depth
and color attachments. Most client code won't need to use this, since Pipeline/RenderPass
management is entirely encapsulated within CommandBuffer... almost. The exception is when
"warming the caches" to avoid lazy and Pipeline/RenderPass generation. This struct helps to
allow eager Pipeline/RenderPass creation without a dependency on CommandBuffer.
Public Members
Format format
ImageLayout swapchain_layout
uint32_t sample_count
bool is_transient
Public Methods
void InitFromImage (const ImagePtr & image)
Uses |image| to populate all fields: format/swapchain_layout/sample_count/is_transient.
Defined at line 102 of file ../../src/ui/lib/escher/third_party/granite/vk/render_pass_info.cc
bool is_swapchain_image ()
Defined at line 103 of file ../../src/ui/lib/escher/third_party/granite/vk/render_pass_info.h