Skia
2D Graphics Library
SkRuntimeEffect::ChildPtr Class Reference

#include <SkRuntimeEffect.h>

Public Types

using sk_is_trivially_relocatable = std::true_type
 

Public Member Functions

 ChildPtr ()=default
 
 ChildPtr (sk_sp< SkShader > s)
 
 ChildPtr (sk_sp< SkColorFilter > cf)
 
 ChildPtr (sk_sp< SkBlender > b)
 
 ChildPtr (sk_sp< SkFlattenable > f)
 
std::optional< ChildTypetype () const
 
SkShadershader () const
 
SkColorFiltercolorFilter () const
 
SkBlenderblender () const
 
SkFlattenableflattenable () const
 

Member Typedef Documentation

◆ sk_is_trivially_relocatable

Constructor & Destructor Documentation

◆ ChildPtr() [1/5]

SkRuntimeEffect::ChildPtr::ChildPtr ( )
default

◆ ChildPtr() [2/5]

SkRuntimeEffect::ChildPtr::ChildPtr ( sk_sp< SkShader s)
inline

◆ ChildPtr() [3/5]

SkRuntimeEffect::ChildPtr::ChildPtr ( sk_sp< SkColorFilter cf)
inline

◆ ChildPtr() [4/5]

SkRuntimeEffect::ChildPtr::ChildPtr ( sk_sp< SkBlender b)
inline

◆ ChildPtr() [5/5]

SkRuntimeEffect::ChildPtr::ChildPtr ( sk_sp< SkFlattenable f)

Member Function Documentation

◆ blender()

SkBlender* SkRuntimeEffect::ChildPtr::blender ( ) const

◆ colorFilter()

SkColorFilter* SkRuntimeEffect::ChildPtr::colorFilter ( ) const

◆ flattenable()

SkFlattenable* SkRuntimeEffect::ChildPtr::flattenable ( ) const
inline

◆ shader()

SkShader* SkRuntimeEffect::ChildPtr::shader ( ) const

◆ type()

std::optional<ChildType> SkRuntimeEffect::ChildPtr::type ( ) const

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