#include <picture.h>
Public Member Functions | |
std::optional< Snapshot > | Snapshot (AiksContext &context) |
std::shared_ptr< Image > | ToImage (AiksContext &context, ISize size) const |
Public Attributes | |
std::unique_ptr< EntityPass > | pass |
std::optional< Snapshot > impeller::Picture::Snapshot | ( | AiksContext & | context | ) |
Definition at line 17 of file picture.cc.
References impeller::Matrix::MakeTranslation(), pass, and impeller::Snapshot::texture.
Referenced by impeller::testing::TEST_P().
std::shared_ptr< Image > impeller::Picture::ToImage | ( | AiksContext & | context, |
ISize | size | ||
) | const |
Definition at line 31 of file picture.cc.
References impeller::TSize< T >::IsEmpty().
Referenced by impeller::testing::MetalScreenshotter::MakeScreenshot(), impeller::testing::VulkanScreenshotter::MakeScreenshot(), and impeller::testing::TEST_P().
std::unique_ptr<EntityPass> impeller::Picture::pass |
Definition at line 21 of file picture.h.
Referenced by impeller::Canvas::EndRecordingAsPicture(), impeller::testing::GetCoverageOfFirstEntity(), impeller::AiksContext::Render(), Snapshot(), and impeller::testing::TEST_P().