#include <inline_pass_context.h>
Classes | |
| struct | RenderPassResult |
Public Member Functions | |
| InlinePassContext (const ContentContext &renderer, EntityPassTarget &pass_target, 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 | ( | const ContentContext & | renderer, |
| EntityPassTarget & | pass_target, | ||
| uint32_t | entity_count, | ||
| std::optional< RenderPassResult > | collapsed_parent_pass = std::nullopt |
||
| ) |
Definition at line 20 of file inline_pass_context.cc.
| impeller::InlinePassContext::~InlinePassContext | ( | ) |
Definition at line 34 of file inline_pass_context.cc.
References EndPass().
| bool impeller::InlinePassContext::EndPass | ( | ) |
Definition at line 55 of file inline_pass_context.cc.
References impeller::AddMipmapGeneration(), impeller::ContentContext::GetContext(), GetPassTarget(), impeller::EntityPassTarget::GetRenderTarget(), impeller::RenderTarget::GetRenderTargetTexture(), IsActive(), and VALIDATION_LOG.
Referenced by ~InlinePassContext().
| uint32_t impeller::InlinePassContext::GetPassCount | ( | ) | const |
Definition at line 204 of file inline_pass_context.cc.
| EntityPassTarget & impeller::InlinePassContext::GetPassTarget | ( | ) | const |
Definition at line 89 of file inline_pass_context.cc.
Referenced by EndPass().
| 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 93 of file inline_pass_context.cc.
References impeller::InlinePassContext::RenderPassResult::backdrop_texture, impeller::EntityPassTarget::Flip(), impeller::RenderTarget::GetColorAttachments(), impeller::ContentContext::GetContext(), impeller::RenderTarget::GetDepthAttachment(), impeller::EntityPassTarget::GetRenderTarget(), impeller::RenderTarget::GetStencilAttachment(), IsActive(), impeller::InlinePassContext::RenderPassResult::just_created, impeller::kClear, impeller::kDontCare, impeller::kLoad, impeller::kMultisampleResolve, impeller::kStore, impeller::Allocation::NextPowerOfTwoSize(), impeller::InlinePassContext::RenderPassResult::pass, impeller::RenderTarget::SetColorAttachment(), impeller::RenderTarget::SetDepthAttachment(), impeller::RenderTarget::SetStencilAttachment(), and VALIDATION_LOG.
| std::shared_ptr< Texture > impeller::InlinePassContext::GetTexture | ( | ) |
Definition at line 48 of file inline_pass_context.cc.
References impeller::EntityPassTarget::GetRenderTarget(), impeller::RenderTarget::GetRenderTargetTexture(), and IsValid().
| bool impeller::InlinePassContext::IsActive | ( | ) | const |
Definition at line 44 of file inline_pass_context.cc.
Referenced by EndPass(), and GetRenderPass().
| bool impeller::InlinePassContext::IsValid | ( | ) | const |
Definition at line 40 of file inline_pass_context.cc.
References impeller::EntityPassTarget::IsValid().
Referenced by GetTexture().