Flutter Engine
The Flutter Engine
|
Resources, meant to be memoized by the texture descriptor of the wrapped swapchain images, that are intuitively cheap to create but have been observed to be time consuming to construct on some Vulkan drivers. This includes the device-transient MSAA and depth-stencil textures. More...
#include <swapchain_transients_vk.h>
Public Member Functions | |
SwapchainTransientsVK (std::weak_ptr< Context > context, TextureDescriptor desc, bool enable_msaa) | |
~SwapchainTransientsVK () | |
SwapchainTransientsVK (const SwapchainTransientsVK &)=delete | |
SwapchainTransientsVK & | operator= (const SwapchainTransientsVK &)=delete |
const std::weak_ptr< Context > & | GetContext () const |
bool | IsMSAAEnabled () const |
const std::shared_ptr< Texture > & | GetMSAATexture () |
const std::shared_ptr< Texture > & | GetDepthStencilTexture () |
Resources, meant to be memoized by the texture descriptor of the wrapped swapchain images, that are intuitively cheap to create but have been observed to be time consuming to construct on some Vulkan drivers. This includes the device-transient MSAA and depth-stencil textures.
The same textures are used for all swapchain images.
Definition at line 23 of file swapchain_transients_vk.h.
|
explicit |
Definition at line 11 of file swapchain_transients_vk.cc.
|
default |
|
delete |
const std::weak_ptr< Context > & impeller::SwapchainTransientsVK::GetContext | ( | ) | const |
Definition at line 94 of file swapchain_transients_vk.cc.
const std::shared_ptr< Texture > & impeller::SwapchainTransientsVK::GetDepthStencilTexture | ( | ) |
Definition at line 27 of file swapchain_transients_vk.cc.
const std::shared_ptr< Texture > & impeller::SwapchainTransientsVK::GetMSAATexture | ( | ) |
Definition at line 18 of file swapchain_transients_vk.cc.
bool impeller::SwapchainTransientsVK::IsMSAAEnabled | ( | ) | const |
Definition at line 90 of file swapchain_transients_vk.cc.
|
delete |