Flutter Engine
The Flutter Engine
Public Member Functions | Friends | List of all members
impeller::BlitPassVK Class Referencefinal

#include <blit_pass_vk.h>

Inheritance diagram for impeller::BlitPassVK:
impeller::BlitPass

Public Member Functions

 ~BlitPassVK () override
 
- Public Member Functions inherited from impeller::BlitPass
virtual ~BlitPass ()
 
virtual bool IsValid () const =0
 
void SetLabel (std::string label)
 
virtual bool ConvertTextureToShaderRead (const std::shared_ptr< Texture > &texture)
 If the texture is not already in a shader read internal state, then convert it to that state. More...
 
bool AddCopy (std::shared_ptr< Texture > source, std::shared_ptr< Texture > destination, std::optional< IRect > source_region=std::nullopt, IPoint destination_origin={}, std::string label="")
 Record a command to copy the contents of one texture to another texture. The blit area is limited by the intersection of the texture coverage with respect the source region and destination origin. More...
 
bool AddCopy (std::shared_ptr< Texture > source, std::shared_ptr< DeviceBuffer > destination, std::optional< IRect > source_region=std::nullopt, size_t destination_offset=0, std::string label="")
 Record a command to copy the contents of the buffer to the texture. More...
 
bool AddCopy (BufferView source, std::shared_ptr< Texture > destination, std::optional< IRect > destination_region=std::nullopt, std::string label="", uint32_t slice=0, bool convert_to_read=true)
 Record a command to copy the contents of the buffer to the texture. More...
 
bool GenerateMipmap (std::shared_ptr< Texture > texture, std::string label="")
 Record a command to generate all mip levels for a texture. More...
 
virtual bool EncodeCommands (const std::shared_ptr< Allocator > &transients_allocator) const =0
 Encode the recorded commands to the underlying command buffer. More...
 

Friends

class CommandBufferVK
 

Additional Inherited Members

- Protected Member Functions inherited from impeller::BlitPass
 BlitPass ()
 
virtual void OnSetLabel (std::string label)=0
 
virtual bool OnCopyTextureToTextureCommand (std::shared_ptr< Texture > source, std::shared_ptr< Texture > destination, IRect source_region, IPoint destination_origin, std::string label)=0
 
virtual bool OnCopyTextureToBufferCommand (std::shared_ptr< Texture > source, std::shared_ptr< DeviceBuffer > destination, IRect source_region, size_t destination_offset, std::string label)=0
 
virtual bool OnCopyBufferToTextureCommand (BufferView source, std::shared_ptr< Texture > destination, IRect destination_region, std::string label, uint32_t slice, bool convert_to_read)=0
 
virtual bool OnGenerateMipmapCommand (std::shared_ptr< Texture > texture, std::string label)=0
 

Detailed Description

Definition at line 17 of file blit_pass_vk.h.

Constructor & Destructor Documentation

◆ ~BlitPassVK()

impeller::BlitPassVK::~BlitPassVK ( )
overridedefault

Friends And Related Function Documentation

◆ CommandBufferVK

friend class CommandBufferVK
friend

Definition at line 23 of file blit_pass_vk.h.


The documentation for this class was generated from the following files: