#include <swapchain_image_vk.h>
Public Member Functions | |
| SwapchainImageVK (TextureDescriptor desc, const vk::Device &device, vk::Image image) | |
| ~SwapchainImageVK () override | |
| bool | IsValid () const |
| PixelFormat | GetPixelFormat () const |
| ISize | GetSize () const |
| vk::Image | GetImage () const override |
| std::shared_ptr< Texture > | GetMSAATexture () const |
| bool | HasMSAATexture () const |
| vk::ImageView | GetImageView () const override |
| void | SetMSAATexture (std::shared_ptr< Texture > msaa_tex) |
Public Member Functions inherited from impeller::TextureSourceVK | |
| virtual | ~TextureSourceVK () |
| const TextureDescriptor & | GetTextureDescriptor () const |
| fml::Status | SetLayout (const BarrierVK &barrier) const |
| vk::ImageLayout | SetLayoutWithoutEncoding (vk::ImageLayout layout) const |
| vk::ImageLayout | GetLayout () const |
Additional Inherited Members | |
Protected Member Functions inherited from impeller::TextureSourceVK | |
| TextureSourceVK (TextureDescriptor desc) | |
Protected Attributes inherited from impeller::TextureSourceVK | |
| const TextureDescriptor | desc_ |
Definition at line 15 of file swapchain_image_vk.h.
| impeller::SwapchainImageVK::SwapchainImageVK | ( | TextureDescriptor | desc, |
| const vk::Device & | device, | ||
| vk::Image | image | ||
| ) |
Definition at line 9 of file swapchain_image_vk.cc.
References impeller::TextureDescriptor::format, impeller::TextureDescriptor::mip_count, impeller::ToArrayLayerCount(), impeller::ToVKImageFormat(), and impeller::TextureDescriptor::type.
|
overridedefault |
|
overridevirtual |
Implements impeller::TextureSourceVK.
Definition at line 59 of file swapchain_image_vk.cc.
|
overridevirtual |
Implements impeller::TextureSourceVK.
Definition at line 64 of file swapchain_image_vk.cc.
| std::shared_ptr< Texture > impeller::SwapchainImageVK::GetMSAATexture | ( | ) | const |
Definition at line 38 of file swapchain_image_vk.cc.
| PixelFormat impeller::SwapchainImageVK::GetPixelFormat | ( | ) | const |
Definition at line 50 of file swapchain_image_vk.cc.
References impeller::TextureSourceVK::desc_, and impeller::TextureDescriptor::format.
| ISize impeller::SwapchainImageVK::GetSize | ( | ) | const |
Definition at line 54 of file swapchain_image_vk.cc.
References impeller::TextureSourceVK::desc_, and impeller::TextureDescriptor::size.
| bool impeller::SwapchainImageVK::HasMSAATexture | ( | ) | const |
Definition at line 42 of file swapchain_image_vk.cc.
| bool impeller::SwapchainImageVK::IsValid | ( | ) | const |
Definition at line 34 of file swapchain_image_vk.cc.
| void impeller::SwapchainImageVK::SetMSAATexture | ( | std::shared_ptr< Texture > | msaa_tex | ) |
Definition at line 46 of file swapchain_image_vk.cc.