Flutter Engine
The Flutter Engine
|
#include <KeyHelpers.h>
Public Member Functions | |
GradientData (SkShaderBase::GradientType, int numStops) | |
GradientData (SkShaderBase::GradientType, SkPoint point0, SkPoint point1, float radius0, float radius1, float bias, float scale, SkTileMode, int numStops, const SkPMColor4f *colors, const float *offsets, sk_sp< TextureProxy > colorsAndOffsetsProxy, const SkGradientShader::Interpolation &) | |
bool | operator== (const GradientData &rhs) const =delete |
bool | operator!= (const GradientData &rhs) const =delete |
Public Attributes | |
SkShaderBase::GradientType | fType |
SkPoint | fPoints [2] |
float | fRadii [2] |
float | fBias |
float | fScale |
SkTileMode | fTM |
int | fNumStops |
SkPMColor4f | fColors [kNumInternalStorageStops] |
SkV4 | fOffsets [kNumInternalStorageStops/4] |
sk_sp< TextureProxy > | fColorsAndOffsetsProxy |
SkGradientShader::Interpolation | fInterpolation |
Static Public Attributes | |
static constexpr int | kNumInternalStorageStops = 8 |
Definition at line 85 of file KeyHelpers.h.
skgpu::graphite::GradientShaderBlocks::GradientData::GradientData | ( | SkShaderBase::GradientType | type, |
int | numStops | ||
) |
Definition at line 282 of file KeyHelpers.cpp.
skgpu::graphite::GradientShaderBlocks::GradientData::GradientData | ( | SkShaderBase::GradientType | type, |
SkPoint | point0, | ||
SkPoint | point1, | ||
float | radius0, | ||
float | radius1, | ||
float | bias, | ||
float | scale, | ||
SkTileMode | tm, | ||
int | numStops, | ||
const SkPMColor4f * | colors, | ||
const float * | offsets, | ||
sk_sp< TextureProxy > | colorsAndOffsetsProxy, | ||
const SkGradientShader::Interpolation & | interp | ||
) |
Definition at line 294 of file KeyHelpers.cpp.
|
delete |
|
delete |
float skgpu::graphite::GradientShaderBlocks::GradientData::fBias |
Definition at line 117 of file KeyHelpers.h.
SkPMColor4f skgpu::graphite::GradientShaderBlocks::GradientData::fColors[kNumInternalStorageStops] |
Definition at line 126 of file KeyHelpers.h.
sk_sp<TextureProxy> skgpu::graphite::GradientShaderBlocks::GradientData::fColorsAndOffsetsProxy |
Definition at line 128 of file KeyHelpers.h.
SkGradientShader::Interpolation skgpu::graphite::GradientShaderBlocks::GradientData::fInterpolation |
Definition at line 130 of file KeyHelpers.h.
int skgpu::graphite::GradientShaderBlocks::GradientData::fNumStops |
Definition at line 121 of file KeyHelpers.h.
SkV4 skgpu::graphite::GradientShaderBlocks::GradientData::fOffsets[kNumInternalStorageStops/4] |
Definition at line 127 of file KeyHelpers.h.
SkPoint skgpu::graphite::GradientShaderBlocks::GradientData::fPoints[2] |
Definition at line 113 of file KeyHelpers.h.
float skgpu::graphite::GradientShaderBlocks::GradientData::fRadii[2] |
Definition at line 114 of file KeyHelpers.h.
float skgpu::graphite::GradientShaderBlocks::GradientData::fScale |
Definition at line 118 of file KeyHelpers.h.
SkTileMode skgpu::graphite::GradientShaderBlocks::GradientData::fTM |
Definition at line 120 of file KeyHelpers.h.
SkShaderBase::GradientType skgpu::graphite::GradientShaderBlocks::GradientData::fType |
Definition at line 112 of file KeyHelpers.h.
|
staticconstexpr |
Definition at line 88 of file KeyHelpers.h.