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...
 
EntityPassTargetGetEntityPassTarget () const
 
InlinePassContextGetInlinePassContext () const
 

Detailed Description

Definition at line 99 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 2153 of file canvas.cc.

2156  : entity_pass_target_(std::move(p_entity_pass_target)) {
2157  inline_pass_context_ =
2158  std::make_unique<InlinePassContext>(renderer, *entity_pass_target_);
2159 }

◆ LazyRenderingConfig() [2/2]

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

Member Function Documentation

◆ GetEntityPassTarget()

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

Definition at line 2165 of file canvas.cc.

2165  {
2166  return entity_pass_target_.get();
2167 }

◆ GetInlinePassContext()

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

Definition at line 2169 of file canvas.cc.

2169  {
2170  return inline_pass_context_.get();
2171 }

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 2161 of file canvas.cc.

2161  {
2162  return !inline_pass_context_->IsActive();
2163 }

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