class Framebuffer

Defined at line 19 of file ../../src/ui/lib/escher/vk/impl/framebuffer.h

Wraps a Vulkan framebuffer object, and makes available the corresponding

Vulkan render pass.

Public Members

static const ResourceTypeInfo kTypeInfo

Public Methods

void Framebuffer (ResourceRecycler * recycler, RenderPassPtr pass, const RenderPassInfo & pass_info)

Defined at line 18 of file ../../src/ui/lib/escher/vk/impl/framebuffer.cc

const ResourceTypeInfo & type_info ()

Defined at line 22 of file ../../src/ui/lib/escher/vk/impl/framebuffer.h

vk::Framebuffer vk ()

Defined at line 27 of file ../../src/ui/lib/escher/vk/impl/framebuffer.h

vk::RenderPass vk_render_pass ()

In Vulkan, framebuffers and render passes are tightly coupled concepts;

this is reflected by making the render pass available here, for convenient

access by CommandBuffer/ShaderProgram, which use it to generate appropriate

VkPipelines.

Defined at line 33 of file ../../src/ui/lib/escher/vk/impl/framebuffer.h

const RenderPassPtr & render_pass ()

Defined at line 34 of file ../../src/ui/lib/escher/vk/impl/framebuffer.h

const RenderPassInfo & render_pass_info ()

Defined at line 35 of file ../../src/ui/lib/escher/vk/impl/framebuffer.h

const ImageViewPtr & GetAttachment (uint32_t index)

Get the color or depth-stencil attachment identified by |index|. The color

attachments indices are [0, render_pass_info().num_color_attachments - 1],

and the index of the depth-stencil attachment (if any) is one greater than

the highest color attachment index.

Defined at line 41 of file ../../src/ui/lib/escher/vk/impl/framebuffer.h

uint32_t width ()

Defined at line 49 of file ../../src/ui/lib/escher/vk/impl/framebuffer.h

uint32_t height ()

Defined at line 50 of file ../../src/ui/lib/escher/vk/impl/framebuffer.h

vk::Extent2D extent ()

Defined at line 51 of file ../../src/ui/lib/escher/vk/impl/framebuffer.h

void ~Framebuffer ()

Defined at line 60 of file ../../src/ui/lib/escher/vk/impl/framebuffer.cc