#include <blit_command_mtl.h>
Public Member Functions | |
| ~BlitCopyTextureToTextureCommandMTL () 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::BlitCopyTextureToTextureCommand | |
| std::shared_ptr< Texture > | source |
| std::shared_ptr< Texture > | destination |
| IRect | source_region |
| IPoint | destination_origin |
Public Attributes inherited from impeller::BlitCommand | |
| 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.