Skia
2D Graphics Library
SkRuntimeEffectBuilder Class Reference

Base class for SkRuntimeShaderBuilder, defined below. More...

#include <SkRuntimeEffect.h>

Inheritance diagram for SkRuntimeEffectBuilder:

Classes

struct  BuilderChild
 
struct  BuilderUniform
 

Public Member Functions

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
 

Protected Member Functions

 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

Base class for SkRuntimeShaderBuilder, defined below.

Constructor & Destructor Documentation

◆ SkRuntimeEffectBuilder() [1/5]

SkRuntimeEffectBuilder::SkRuntimeEffectBuilder ( )
protecteddelete

◆ SkRuntimeEffectBuilder() [2/5]

SkRuntimeEffectBuilder::SkRuntimeEffectBuilder ( sk_sp< SkRuntimeEffect effect)
inlineexplicitprotected

◆ SkRuntimeEffectBuilder() [3/5]

SkRuntimeEffectBuilder::SkRuntimeEffectBuilder ( sk_sp< SkRuntimeEffect effect,
sk_sp< SkData uniforms 
)
inlineexplicitprotected

◆ SkRuntimeEffectBuilder() [4/5]

SkRuntimeEffectBuilder::SkRuntimeEffectBuilder ( SkRuntimeEffectBuilder &&  )
protecteddefault

◆ SkRuntimeEffectBuilder() [5/5]

SkRuntimeEffectBuilder::SkRuntimeEffectBuilder ( const SkRuntimeEffectBuilder )
protecteddefault

Member Function Documentation

◆ child()

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

◆ children()

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

◆ effect()

const SkRuntimeEffect* SkRuntimeEffectBuilder::effect ( ) const
inline

◆ operator=() [1/2]

SkRuntimeEffectBuilder& SkRuntimeEffectBuilder::operator= ( const SkRuntimeEffectBuilder )
protecteddelete

◆ operator=() [2/2]

SkRuntimeEffectBuilder& SkRuntimeEffectBuilder::operator= ( SkRuntimeEffectBuilder &&  )
protecteddelete

◆ uniform()

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

◆ uniforms()

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

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