#include <blit_command_mtl.h>
Public Member Functions | |
| ~BlitCopyBufferToTextureCommandMTL () 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::BlitCopyBufferToTextureCommand | |
| BufferView | source |
| std::shared_ptr< Texture > | destination |
| IPoint | destination_origin |
Public Attributes inherited from impeller::BlitCommand | |
| std::string | label |
Definition at line 53 of file blit_command_mtl.h.
|
overridedefault |
|
overridevirtual |
Implements impeller::BlitEncodeMTL.
Definition at line 104 of file blit_command_mtl.mm.
References impeller::BufferView::buffer, impeller::BytesPerPixelForPixelFormat(), impeller::BackendCast< TextureMTL, Texture >::Cast(), impeller::BackendCast< DeviceBufferMTL, Buffer >::Cast(), impeller::BlitCopyBufferToTextureCommand::destination, impeller::BlitCopyBufferToTextureCommand::destination_origin, impeller::DeviceBufferMTL::GetMTLBuffer(), impeller::TextureMTL::GetMTLTexture(), impeller::Range::offset, impeller::BufferView::range, impeller::BlitCopyBufferToTextureCommand::source, impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
overridevirtual |
Implements impeller::BlitEncodeMTL.
Definition at line 100 of file blit_command_mtl.mm.
References impeller::BlitCommand::label.