Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
skgpu::graphite::MatrixColorFilterBlock::MatrixColorFilterData Struct Reference

#include <KeyHelpers.h>

Public Member Functions

 MatrixColorFilterData (const float matrix[20], bool inHSLA)
 

Public Attributes

SkM44 fMatrix
 
SkV4 fTranslate
 
bool fInHSLA
 

Detailed Description

Definition at line 310 of file KeyHelpers.h.

Constructor & Destructor Documentation

◆ MatrixColorFilterData()

skgpu::graphite::MatrixColorFilterBlock::MatrixColorFilterData::MatrixColorFilterData ( const float  matrix[20],
bool  inHSLA 
)
inline

Definition at line 311 of file KeyHelpers.h.

313 : fMatrix(matrix[ 0], matrix[ 1], matrix[ 2], matrix[ 3],
314 matrix[ 5], matrix[ 6], matrix[ 7], matrix[ 8],
315 matrix[10], matrix[11], matrix[12], matrix[13],
316 matrix[15], matrix[16], matrix[17], matrix[18])
317 , fTranslate{matrix[4], matrix[9], matrix[14], matrix[19]}
318 , fInHSLA(inHSLA) {
319 }
unsigned useCenter Optional< SkMatrix > matrix
Definition SkRecords.h:258

Member Data Documentation

◆ fInHSLA

bool skgpu::graphite::MatrixColorFilterBlock::MatrixColorFilterData::fInHSLA

Definition at line 323 of file KeyHelpers.h.

◆ fMatrix

SkM44 skgpu::graphite::MatrixColorFilterBlock::MatrixColorFilterData::fMatrix

Definition at line 321 of file KeyHelpers.h.

◆ fTranslate

SkV4 skgpu::graphite::MatrixColorFilterBlock::MatrixColorFilterData::fTranslate

Definition at line 322 of file KeyHelpers.h.


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