#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... | |
| RenderTarget & | GetRenderTarget () |
| 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.
References impeller::Allocator::CreateTexture(), impeller::RenderTarget::GetColorAttachments(), impeller::RenderTarget::SetColorAttachment(), and VALIDATION_LOG.
Referenced by impeller::InlinePassContext::GetRenderPass().
| RenderTarget & impeller::EntityPassTarget::GetRenderTarget | ( | ) |
Definition at line 68 of file entity_pass_target.cc.
Referenced by impeller::InlinePassContext::EndPass(), impeller::InlinePassContext::GetRenderPass(), and impeller::InlinePassContext::GetTexture().
| bool impeller::EntityPassTarget::IsValid | ( | ) | const |
Definition at line 72 of file entity_pass_target.cc.
References impeller::RenderTarget::IsValid().
Referenced by impeller::InlinePassContext::IsValid().