#include <inline_pass_context.h>
Classes | |
| struct | RenderPassResult |
Public Member Functions | |
| InlinePassContext (std::shared_ptr< Context > context, EntityPassTarget &pass_target, uint32_t pass_texture_reads, uint32_t entity_count, std::optional< RenderPassResult > collapsed_parent_pass=std::nullopt) | |
| ~InlinePassContext () | |
| bool | IsValid () const |
| bool | IsActive () const |
| std::shared_ptr< Texture > | GetTexture () |
| bool | EndPass () |
| EntityPassTarget & | GetPassTarget () const |
| uint32_t | GetPassCount () const |
| RenderPassResult | GetRenderPass (uint32_t pass_depth) |
Definition at line 17 of file inline_pass_context.h.
| impeller::InlinePassContext::InlinePassContext | ( | std::shared_ptr< Context > | context, |
| EntityPassTarget & | pass_target, | ||
| uint32_t | pass_texture_reads, | ||
| uint32_t | entity_count, | ||
| std::optional< RenderPassResult > | collapsed_parent_pass = std::nullopt |
||
| ) |
Definition at line 17 of file inline_pass_context.cc.
| impeller::InlinePassContext::~InlinePassContext | ( | ) |
Definition at line 32 of file inline_pass_context.cc.
References EndPass().
| bool impeller::InlinePassContext::EndPass | ( | ) |
Definition at line 53 of file inline_pass_context.cc.
References IsActive(), and VALIDATION_LOG.
Referenced by ~InlinePassContext().
| uint32_t impeller::InlinePassContext::GetPassCount | ( | ) | const |
Definition at line 175 of file inline_pass_context.cc.
| EntityPassTarget & impeller::InlinePassContext::GetPassTarget | ( | ) | const |
Definition at line 73 of file inline_pass_context.cc.
| InlinePassContext::RenderPassResult impeller::InlinePassContext::GetRenderPass | ( | uint32_t | pass_depth | ) |
Create a new render pass if one isn't active. This path will run the first time this method is called, but it'll also run if the pass has been previously ended via EndPass.
Definition at line 77 of file inline_pass_context.cc.
References impeller::InlinePassContext::RenderPassResult::backdrop_texture, impeller::EntityPassTarget::Flip(), impeller::RenderTarget::GetColorAttachments(), impeller::EntityPassTarget::GetRenderTarget(), impeller::RenderTarget::GetStencilAttachment(), IsActive(), impeller::kClear, impeller::kDontCare, impeller::kLoad, impeller::kMultisampleResolve, impeller::kStore, impeller::Allocation::NextPowerOfTwoSize(), impeller::InlinePassContext::RenderPassResult::pass, impeller::RenderTarget::SetColorAttachment(), impeller::RenderTarget::SetStencilAttachment(), and VALIDATION_LOG.
| std::shared_ptr< Texture > impeller::InlinePassContext::GetTexture | ( | ) |
Definition at line 46 of file inline_pass_context.cc.
References impeller::EntityPassTarget::GetRenderTarget(), impeller::RenderTarget::GetRenderTargetTexture(), and IsValid().
| bool impeller::InlinePassContext::IsActive | ( | ) | const |
Definition at line 42 of file inline_pass_context.cc.
Referenced by EndPass(), and GetRenderPass().
| bool impeller::InlinePassContext::IsValid | ( | ) | const |
Definition at line 38 of file inline_pass_context.cc.
References impeller::EntityPassTarget::IsValid().
Referenced by GetTexture().