#include <blit_command_mtl.h>
Public Member Functions | |
~BlitCopyTextureToTextureCommandMTL () override | |
std::string | GetLabel () const override |
bool | Encode (id< MTLBlitCommandEncoder > encoder) const override |
![]() | |
virtual | ~BlitEncodeMTL () |
Additional Inherited Members | |
![]() | |
static BlitEncodeMTL & | Cast (BlitCommand &base) |
static const BlitEncodeMTL & | Cast (const BlitCommand &base) |
static BlitEncodeMTL * | Cast (BlitCommand *base) |
static const BlitEncodeMTL * | Cast (const BlitCommand *base) |
![]() | |
std::shared_ptr< Texture > | source |
std::shared_ptr< Texture > | destination |
IRect | source_region |
IPoint | destination_origin |
![]() | |
std::string | label |
Definition at line 25 of file blit_command_mtl.h.
|
overridedefault |
|
overridevirtual |
Implements impeller::BlitEncodeMTL.
Definition at line 21 of file blit_command_mtl.mm.
References impeller::BackendCast< TextureMTL, Texture >::Cast(), impeller::BlitCopyTextureToTextureCommand::destination_origin, impeller::TRect< T >::GetHeight(), impeller::TextureMTL::GetMTLTexture(), impeller::TRect< T >::GetWidth(), impeller::TRect< T >::GetX(), impeller::TRect< T >::GetY(), impeller::BlitCopyTextureToTextureCommand::source_region, impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
overridevirtual |
Implements impeller::BlitEncodeMTL.
Definition at line 17 of file blit_command_mtl.mm.
References impeller::BlitCommand::label.