23 std::shared_ptr<TextureSourceVK> source);
69 std::weak_ptr<Context> context_;
70 std::shared_ptr<TextureSourceVK> source_;
71 bool has_validation_layers_ =
false;
74 void SetLabel(std::string_view label)
override;
77 void SetLabel(std::string_view label, std::string_view trailing)
override;
80 bool OnSetContents(
const uint8_t* contents,
82 size_t slice)
override;
85 bool OnSetContents(std::shared_ptr<const fml::Mapping> mapping,
86 size_t slice)
override;
89 bool IsValid()
const override;
vk::ImageView GetImageView() const
std::shared_ptr< const TextureSourceVK > GetTextureSource() const
bool IsSwapchainImage() const
vk::ImageView GetRenderTargetView() const
const FramebufferAndRenderPass & GetCachedFrameData(SampleCount sample_count) const
void SetMipMapGenerated()
vk::ImageLayout SetLayoutWithoutEncoding(vk::ImageLayout layout) const
std::shared_ptr< SamplerVK > GetImmutableSamplerVariant(const SamplerVK &sampler) const
ISize GetSize() const override
bool SetLayout(const BarrierVK &barrier) const
vk::ImageLayout GetLayout() const
vk::Image GetImage() const
void SetCachedFrameData(const FramebufferAndRenderPass &data, SampleCount sample_count)
std::shared_ptr< const fml::Mapping > data