#include <Precompile.h>
Definition at line 170 of file Precompile.h.
◆ ProcessCombination
◆ priv() [1/2]
◆ priv() [2/2]
◆ setBlenders()
Definition at line 191 of file Precompile.h.
191 {
193 if (
b->asBlendMode().has_value()) {
194 fBlendModeOptions.
push_back(
b->asBlendMode().value());
195 } else {
196 fBlenderOptions.push_back(
b);
197 }
198 }
199 }
void push_back(const T &v)
◆ setBlendModes()
void skgpu::graphite::PaintOptions::setBlendModes |
( |
SkSpan< SkBlendMode > |
blendModes | ) |
|
|
inline |
Definition at line 188 of file Precompile.h.
188 {
190 }
constexpr T * data() const
constexpr size_t size() const
◆ setClipShaders()
Definition at line 66 of file Precompile.cpp.
66 {
67
68 fClipShaderOptions.reserve(2 * clipShaders.
size());
70
72
74 withCTM ? withCTM->makeWithColorFilter(PrecompileColorFilters::Blend())
75 : nullptr;
76
77 fClipShaderOptions.emplace_back(std::move(withCTM));
78 fClipShaderOptions.emplace_back(std::move(inverted));
79 }
80}
◆ setColorFilters()
Definition at line 180 of file Precompile.h.
180 {
181 fColorFilterOptions.assign(colorFilters.
begin(), colorFilters.
end());
182 }
constexpr T * begin() const
constexpr T * end() const
◆ setDither()
void skgpu::graphite::PaintOptions::setDither |
( |
bool |
dither | ) |
|
|
inline |
◆ setImageFilters()
◆ setMaskFilters()
Definition at line 176 of file Precompile.h.
176 {
177 fMaskFilterOptions.assign(maskFilters.
begin(), maskFilters.
end());
178 }
◆ setShaders()
Definition at line 172 of file Precompile.h.
172 {
173 fShaderOptions.assign(shaders.
begin(), shaders.
end());
174 }
◆ PaintOptionsPriv
The documentation for this class was generated from the following files: