Skia
2D Graphics Library
sksg::RenderNode::RenderContext Struct Reference

#include <SkSGRenderNode.h>

Public Member Functions

bool requiresIsolation () const
 
void modulatePaint (const SkMatrix &ctm, SkPaint *, bool is_layer_paint=false) const
 

Public Attributes

sk_sp< SkColorFilterfColorFilter
 
sk_sp< SkShaderfShader
 
sk_sp< SkShaderfMaskShader
 
sk_sp< SkBlenderfBlender
 
SkMatrix fShaderCTM = SkMatrix::I()
 
SkMatrix fMaskCTM = SkMatrix::I()
 
float fOpacity = 1
 

Member Function Documentation

◆ modulatePaint()

void sksg::RenderNode::RenderContext::modulatePaint ( const SkMatrix ctm,
SkPaint ,
bool  is_layer_paint = false 
) const

◆ requiresIsolation()

bool sksg::RenderNode::RenderContext::requiresIsolation ( ) const

Member Data Documentation

◆ fBlender

sk_sp<SkBlender> sksg::RenderNode::RenderContext::fBlender

◆ fColorFilter

sk_sp<SkColorFilter> sksg::RenderNode::RenderContext::fColorFilter

◆ fMaskCTM

SkMatrix sksg::RenderNode::RenderContext::fMaskCTM = SkMatrix::I()

◆ fMaskShader

sk_sp<SkShader> sksg::RenderNode::RenderContext::fMaskShader

◆ fOpacity

float sksg::RenderNode::RenderContext::fOpacity = 1

◆ fShader

sk_sp<SkShader> sksg::RenderNode::RenderContext::fShader

◆ fShaderCTM

SkMatrix sksg::RenderNode::RenderContext::fShaderCTM = SkMatrix::I()

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