Skia
2D Graphics Library
SkRuntimeColorFilterBuilder Class Reference

SkRuntimeColorFilterBuilder makes it easy to setup and assign uniforms to runtime color filters. More...

#include <SkRuntimeEffect.h>

Inheritance diagram for SkRuntimeColorFilterBuilder:

Public Member Functions

 SkRuntimeColorFilterBuilder (sk_sp< SkRuntimeEffect >)
 
 ~SkRuntimeColorFilterBuilder ()
 
 SkRuntimeColorFilterBuilder (const SkRuntimeColorFilterBuilder &)=delete
 
SkRuntimeColorFilterBuilderoperator= (const SkRuntimeColorFilterBuilder &)=delete
 
sk_sp< SkColorFiltermakeColorFilter () const
 
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
 

Detailed Description

SkRuntimeColorFilterBuilder makes it easy to setup and assign uniforms to runtime color filters.

Constructor & Destructor Documentation

◆ SkRuntimeColorFilterBuilder() [1/2]

SkRuntimeColorFilterBuilder::SkRuntimeColorFilterBuilder ( sk_sp< SkRuntimeEffect )
explicit

◆ ~SkRuntimeColorFilterBuilder()

SkRuntimeColorFilterBuilder::~SkRuntimeColorFilterBuilder ( )

◆ SkRuntimeColorFilterBuilder() [2/2]

SkRuntimeColorFilterBuilder::SkRuntimeColorFilterBuilder ( const SkRuntimeColorFilterBuilder )
delete

Member Function Documentation

◆ child()

BuilderChild SkRuntimeEffectBuilder::child ( std::string_view  name)
inlineinherited

◆ children()

SkSpan<const SkRuntimeEffect::ChildPtr> SkRuntimeEffectBuilder::children ( ) const
inlineinherited

◆ effect()

const SkRuntimeEffect* SkRuntimeEffectBuilder::effect ( ) const
inlineinherited

◆ makeColorFilter()

sk_sp<SkColorFilter> SkRuntimeColorFilterBuilder::makeColorFilter ( ) const

◆ operator=()

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

◆ uniform()

BuilderUniform SkRuntimeEffectBuilder::uniform ( std::string_view  name)
inlineinherited

◆ uniforms()

sk_sp<const SkData> SkRuntimeEffectBuilder::uniforms ( ) const
inlineinherited

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