Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkRuntimeBlendBuilder Class Reference

#include <SkRuntimeEffect.h>

Inheritance diagram for SkRuntimeBlendBuilder:
SkRuntimeEffectBuilder

Public Member Functions

 SkRuntimeBlendBuilder (sk_sp< SkRuntimeEffect >)
 
 ~SkRuntimeBlendBuilder ()
 
 SkRuntimeBlendBuilder (const SkRuntimeBlendBuilder &)=delete
 
SkRuntimeBlendBuilderoperator= (const SkRuntimeBlendBuilder &)=delete
 
sk_sp< SkBlendermakeBlender () const
 
- Public Member Functions inherited from SkRuntimeEffectBuilder
const SkRuntimeEffecteffect () const
 
BuilderUniform uniform (std::string_view name)
 
BuilderChild child (std::string_view name)
 
sk_sp< const SkDatauniforms () const
 
SkSpan< const SkRuntimeEffect::ChildPtrchildren () const
 

Additional Inherited Members

- Protected Member Functions inherited from SkRuntimeEffectBuilder
 SkRuntimeEffectBuilder ()=delete
 
 SkRuntimeEffectBuilder (sk_sp< SkRuntimeEffect > effect)
 
 SkRuntimeEffectBuilder (sk_sp< SkRuntimeEffect > effect, sk_sp< SkData > uniforms)
 
 SkRuntimeEffectBuilder (SkRuntimeEffectBuilder &&)=default
 
 SkRuntimeEffectBuilder (const SkRuntimeEffectBuilder &)=default
 
SkRuntimeEffectBuilderoperator= (SkRuntimeEffectBuilder &&)=delete
 
SkRuntimeEffectBuilderoperator= (const SkRuntimeEffectBuilder &)=delete
 

Detailed Description

SkRuntimeBlendBuilder is a utility to simplify creation and uniform setup of runtime blenders.

Definition at line 506 of file SkRuntimeEffect.h.

Constructor & Destructor Documentation

◆ SkRuntimeBlendBuilder() [1/2]

SkRuntimeBlendBuilder::SkRuntimeBlendBuilder ( sk_sp< SkRuntimeEffect effect)
explicit

Definition at line 971 of file SkRuntimeEffect.cpp.

972 : SkRuntimeEffectBuilder(std::move(effect)) {}
const SkRuntimeEffect * effect() const
SkRuntimeEffectBuilder()=delete

◆ ~SkRuntimeBlendBuilder()

SkRuntimeBlendBuilder::~SkRuntimeBlendBuilder ( )
default

◆ SkRuntimeBlendBuilder() [2/2]

SkRuntimeBlendBuilder::SkRuntimeBlendBuilder ( const SkRuntimeBlendBuilder )
delete

Member Function Documentation

◆ makeBlender()

sk_sp< SkBlender > SkRuntimeBlendBuilder::makeBlender ( ) const

Definition at line 976 of file SkRuntimeEffect.cpp.

976 {
977 return this->effect()->makeBlender(this->uniforms(), this->children());
978}
sk_sp< const SkData > uniforms() const
SkSpan< const SkRuntimeEffect::ChildPtr > children() const
sk_sp< SkBlender > makeBlender(sk_sp< const SkData > uniforms, SkSpan< const ChildPtr > children={}) const

◆ operator=()

SkRuntimeBlendBuilder & SkRuntimeBlendBuilder::operator= ( const SkRuntimeBlendBuilder )
delete

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