Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
flutter::SetRuntimeEffectColorSourceOp Struct Reference

#include <dl_op_records.h>

Inheritance diagram for flutter::SetRuntimeEffectColorSourceOp:
flutter::DLOp

Public Member Functions

 SetRuntimeEffectColorSourceOp (const DlRuntimeEffectColorSource *source)
 
void dispatch (DispatchContext &ctx) const
 
DisplayListCompare equals (const SetRuntimeEffectColorSourceOp *other) const
 
- Public Member Functions inherited from flutter::DLOp
DisplayListCompare equals (const DLOp *other) const
 

Public Attributes

const DlRuntimeEffectColorSource source
 
- Public Attributes inherited from flutter::DLOp
DisplayListOpType type: 8
 
uint32_t size: 24
 

Static Public Attributes

static constexpr auto kType = DisplayListOpType::kSetRuntimeEffectColorSource
 
- Static Public Attributes inherited from flutter::DLOp
static constexpr uint32_t kDepthInc = 0
 
static constexpr uint32_t kRenderOpInc = 0
 

Detailed Description

Definition at line 257 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ SetRuntimeEffectColorSourceOp()

flutter::SetRuntimeEffectColorSourceOp::SetRuntimeEffectColorSourceOp ( const DlRuntimeEffectColorSource source)
inlineexplicit

Definition at line 260 of file dl_op_records.h.

263 source->samplers(),
264 source->uniform_data()) {}
const std::shared_ptr< std::vector< uint8_t > > uniform_data() const
const sk_sp< DlRuntimeEffect > runtime_effect() const
const std::vector< std::shared_ptr< DlColorSource > > samplers() const
const DlRuntimeEffectColorSource source

Member Function Documentation

◆ dispatch()

void flutter::SetRuntimeEffectColorSourceOp::dispatch ( DispatchContext ctx) const
inline

Definition at line 268 of file dl_op_records.h.

268 {
269 ctx.receiver.setColorSource(&source);
270 }

◆ equals()

DisplayListCompare flutter::SetRuntimeEffectColorSourceOp::equals ( const SetRuntimeEffectColorSourceOp other) const
inline

Definition at line 272 of file dl_op_records.h.

Member Data Documentation

◆ kType

constexpr auto flutter::SetRuntimeEffectColorSourceOp::kType = DisplayListOpType::kSetRuntimeEffectColorSource
staticconstexpr

Definition at line 258 of file dl_op_records.h.

◆ source

const DlRuntimeEffectColorSource flutter::SetRuntimeEffectColorSourceOp::source

Definition at line 266 of file dl_op_records.h.


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