Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
GrFPArgs Struct Reference

#include <GrFPArgs.h>

Public Types

enum class  Scope { kDefault , kRuntimeEffect }
 

Public Member Functions

 GrFPArgs (GrRecordingContext *context, const GrColorInfo *dstColorInfo, const SkSurfaceProps &surfaceProps, Scope scope)
 

Public Attributes

GrRecordingContextfContext
 
const GrColorInfofDstColorInfo
 
const SkSurfacePropsfSurfaceProps
 
Scope fScope
 

Detailed Description

Definition at line 18 of file GrFPArgs.h.

Member Enumeration Documentation

◆ Scope

enum class GrFPArgs::Scope
strong
Enumerator
kDefault 
kRuntimeEffect 

Definition at line 19 of file GrFPArgs.h.

Constructor & Destructor Documentation

◆ GrFPArgs()

GrFPArgs::GrFPArgs ( GrRecordingContext context,
const GrColorInfo dstColorInfo,
const SkSurfaceProps surfaceProps,
Scope  scope 
)
inline

Definition at line 24 of file GrFPArgs.h.

28 : fContext(context)
29 , fDstColorInfo(dstColorInfo)
30 , fSurfaceProps(surfaceProps)
31 , fScope(scope) {
33 }
#define SkASSERT(cond)
Definition SkAssert.h:116
Scope fScope
Definition GrFPArgs.h:41
const SkSurfaceProps & fSurfaceProps
Definition GrFPArgs.h:39
const GrColorInfo * fDstColorInfo
Definition GrFPArgs.h:37
GrRecordingContext * fContext
Definition GrFPArgs.h:35

Member Data Documentation

◆ fContext

GrRecordingContext* GrFPArgs::fContext

Definition at line 35 of file GrFPArgs.h.

◆ fDstColorInfo

const GrColorInfo* GrFPArgs::fDstColorInfo

Definition at line 37 of file GrFPArgs.h.

◆ fScope

Scope GrFPArgs::fScope

Definition at line 41 of file GrFPArgs.h.

◆ fSurfaceProps

const SkSurfaceProps& GrFPArgs::fSurfaceProps

Definition at line 39 of file GrFPArgs.h.


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