Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | Public Attributes | List of all members
GrDefaultGeoProcFactory::Color Struct Reference

#include <GrDefaultGeoProcFactory.h>

Public Types

enum  Type { kPremulGrColorUniform_Type , kPremulGrColorAttribute_Type , kPremulWideColorAttribute_Type }
 

Public Member Functions

 Color (const SkPMColor4f &color)
 
 Color (Type type)
 

Public Attributes

Type fType
 
SkPMColor4f fColor
 

Detailed Description

Definition at line 25 of file GrDefaultGeoProcFactory.h.

Member Enumeration Documentation

◆ Type

Enumerator
kPremulGrColorUniform_Type 
kPremulGrColorAttribute_Type 
kPremulWideColorAttribute_Type 

Definition at line 26 of file GrDefaultGeoProcFactory.h.

Constructor & Destructor Documentation

◆ Color() [1/2]

GrDefaultGeoProcFactory::Color::Color ( const SkPMColor4f color)
inlineexplicit

◆ Color() [2/2]

GrDefaultGeoProcFactory::Color::Color ( Type  type)
inline

Definition at line 34 of file GrDefaultGeoProcFactory.h.

35 : fType(type)
38 }
#define SkASSERT(cond)
Definition: SkAssert.h:116
constexpr SkPMColor4f SK_PMColor4fILLEGAL
Definition: SkColorData.h:381
GLenum type

Member Data Documentation

◆ fColor

SkPMColor4f GrDefaultGeoProcFactory::Color::fColor

Definition at line 41 of file GrDefaultGeoProcFactory.h.

◆ fType

Type GrDefaultGeoProcFactory::Color::fType

Definition at line 40 of file GrDefaultGeoProcFactory.h.


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