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

#include <GrDefaultGeoProcFactory.h>

Public Types

enum  Type {
  kSolid_Type , kUniform_Type , kAttribute_Type , kAttributeTweakAlpha_Type ,
  kAttributeUnclamped_Type
}
 

Public Member Functions

 Coverage (uint8_t coverage)
 
 Coverage (Type type)
 

Public Attributes

Type fType
 
uint8_t fCoverage
 

Detailed Description

Definition at line 44 of file GrDefaultGeoProcFactory.h.

Member Enumeration Documentation

◆ Type

Enumerator
kSolid_Type 
kUniform_Type 
kAttribute_Type 
kAttributeTweakAlpha_Type 
kAttributeUnclamped_Type 

Definition at line 45 of file GrDefaultGeoProcFactory.h.

Constructor & Destructor Documentation

◆ Coverage() [1/2]

GrDefaultGeoProcFactory::Coverage::Coverage ( uint8_t  coverage)
inlineexplicit

◆ Coverage() [2/2]

GrDefaultGeoProcFactory::Coverage::Coverage ( Type  type)
inline

Definition at line 54 of file GrDefaultGeoProcFactory.h.

54 : fType(type), fCoverage(0xff) {
56 }
#define SkASSERT(cond)
Definition: SkAssert.h:116
GLenum type

Member Data Documentation

◆ fCoverage

uint8_t GrDefaultGeoProcFactory::Coverage::fCoverage

Definition at line 59 of file GrDefaultGeoProcFactory.h.

◆ fType

Type GrDefaultGeoProcFactory::Coverage::fType

Definition at line 58 of file GrDefaultGeoProcFactory.h.


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