Flutter Engine
The Flutter Engine
Public Attributes | List of all members
skgpu::ReducedBlendModeInfo Struct Reference

#include <Blend.h>

Public Attributes

const char * fFunction
 
SkSpan< const float > fUniformData
 

Detailed Description

Returns a pair of "blend function + uniform data" for a particular SkBlendMode. This allows us to use fewer unique functions when generating shaders, e.g. every Porter-Duff blend can use the same function.

Definition at line 206 of file Blend.h.

Member Data Documentation

◆ fFunction

const char* skgpu::ReducedBlendModeInfo::fFunction

Definition at line 207 of file Blend.h.

◆ fUniformData

SkSpan<const float> skgpu::ReducedBlendModeInfo::fUniformData

Definition at line 208 of file Blend.h.


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