#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 34 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, Buffer >::Cast(), impeller::BlitCopyTextureToBufferCommand::destination_offset, impeller::DeviceBufferMTL::GetMTLBuffer(), impeller::TextureMTL::GetMTLTexture(), impeller::TSize< T >::height, impeller::TRect< T >::origin, impeller::TRect< T >::size, impeller::BlitCopyTextureToBufferCommand::source, impeller::BlitCopyTextureToBufferCommand::source_region, impeller::TSize< T >::width, impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
overridevirtual |
Implements impeller::BlitEncodeMTL.
Definition at line 56 of file blit_command_mtl.mm.
References impeller::BlitCommand::label.