![]() |
Flutter Engine
The Flutter Engine
|
#include <entity_pass_target.h>
Public Member Functions | |
EntityPassTarget (const RenderTarget &render_target, bool supports_read_from_resolve, bool supports_implicit_msaa) | |
std::shared_ptr< Texture > | Flip (Allocator &allocator) |
Flips the backdrop and returns a readable texture that can be bound/sampled to restore the previous pass. More... | |
const RenderTarget & | GetRenderTarget () const |
bool | IsValid () const |
Definition at line 14 of file entity_pass_target.h.
|
explicit |
Definition at line 13 of file entity_pass_target.cc.
Flips the backdrop and returns a readable texture that can be bound/sampled to restore the previous pass.
After this method is called, a new RenderPass
that attaches the result of GetRenderTarget
is guaranteed to be able to read the previous pass's backdrop texture (which is returned by this method).
Definition at line 20 of file entity_pass_target.cc.
const RenderTarget & impeller::EntityPassTarget::GetRenderTarget | ( | ) | const |
Definition at line 68 of file entity_pass_target.cc.
bool impeller::EntityPassTarget::IsValid | ( | ) | const |
Definition at line 72 of file entity_pass_target.cc.