#include <blit_command_mtl.h>
Public Member Functions | |
| ~BlitCopyTextureToBufferCommandMTL () override | |
| std::string | GetLabel () const override |
| bool | Encode (id< MTLBlitCommandEncoder > encoder) const override |
Public Member Functions inherited from impeller::BlitEncodeMTL | |
| virtual | ~BlitEncodeMTL () |
Additional Inherited Members | |
Static Public Member Functions inherited from impeller::BackendCast< BlitEncodeMTL, BlitCommand > | |
| static BlitEncodeMTL & | Cast (BlitCommand &base) |
| static const BlitEncodeMTL & | Cast (const BlitCommand &base) |
| static BlitEncodeMTL * | Cast (BlitCommand *base) |
| static const BlitEncodeMTL * | Cast (const BlitCommand *base) |
Public Attributes inherited from impeller::BlitCopyTextureToBufferCommand | |
| std::shared_ptr< Texture > | source |
| std::shared_ptr< DeviceBuffer > | destination |
| IRect | source_region |
| size_t | destination_offset |
Public Attributes inherited from impeller::BlitCommand | |
| std::string | label |
Definition at line 35 of file blit_command_mtl.h.
|
overridedefault |
|
overridevirtual |
Implements impeller::BlitEncodeMTL.
Definition at line 60 of file blit_command_mtl.mm.
References impeller::BytesPerPixelForPixelFormat(), impeller::BackendCast< TextureMTL, Texture >::Cast(), impeller::BackendCast< DeviceBufferMTL, DeviceBuffer >::Cast(), impeller::BlitCopyTextureToBufferCommand::destination_offset, impeller::TRect< T >::GetHeight(), impeller::DeviceBufferMTL::GetMTLBuffer(), impeller::TextureMTL::GetMTLTexture(), impeller::TRect< T >::GetWidth(), impeller::TRect< T >::GetX(), impeller::TRect< T >::GetY(), impeller::BlitCopyTextureToBufferCommand::source, and impeller::BlitCopyTextureToBufferCommand::source_region.
|
overridevirtual |
Implements impeller::BlitEncodeMTL.
Definition at line 56 of file blit_command_mtl.mm.
References impeller::BlitCommand::label.