Flutter Impeller
impeller::LazyRenderingConfig Class Reference

#include <canvas.h>

Public Member Functions

 LazyRenderingConfig (ContentContext &renderer, std::unique_ptr< EntityPassTarget > p_entity_pass_target)
 
 LazyRenderingConfig (LazyRenderingConfig &&)=default
 
bool IsApplyingClearColor () const
 Whether or not the clear color texture can still be updated. More...
 
EntityPassTarget * GetEntityPassTarget () const
 
InlinePassContext * GetInlinePassContext () const
 

Detailed Description

Definition at line 100 of file canvas.h.

Constructor & Destructor Documentation

◆ LazyRenderingConfig() [1/2]

impeller::LazyRenderingConfig::LazyRenderingConfig ( ContentContext &  renderer,
std::unique_ptr< EntityPassTarget >  p_entity_pass_target 
)

Definition at line 2679 of file canvas.cc.

2682  : entity_pass_target_(std::move(p_entity_pass_target)) {
2683  inline_pass_context_ =
2684  std::make_unique<InlinePassContext>(renderer, *entity_pass_target_);
2685 }

◆ LazyRenderingConfig() [2/2]

impeller::LazyRenderingConfig::LazyRenderingConfig ( LazyRenderingConfig &&  )
default

Member Function Documentation

◆ GetEntityPassTarget()

EntityPassTarget * impeller::LazyRenderingConfig::GetEntityPassTarget ( ) const

Definition at line 2691 of file canvas.cc.

2691  {
2692  return entity_pass_target_.get();
2693 }

◆ GetInlinePassContext()

InlinePassContext * impeller::LazyRenderingConfig::GetInlinePassContext ( ) const

Definition at line 2695 of file canvas.cc.

2695  {
2696  return inline_pass_context_.get();
2697 }

Referenced by impeller::Canvas::GetLocalCoverageLimit().

◆ IsApplyingClearColor()

bool impeller::LazyRenderingConfig::IsApplyingClearColor ( ) const

Whether or not the clear color texture can still be updated.

Definition at line 2687 of file canvas.cc.

2687  {
2688  return !inline_pass_context_->IsActive();
2689 }

The documentation for this class was generated from the following files: