Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
skgpu::graphite::ComputeStep::ResourceDesc Struct Referencefinal

#include <ComputeStep.h>

Public Member Functions

constexpr ResourceDesc (ResourceType type, DataFlow flow, ResourcePolicy policy, int slot=-1)
 
constexpr ResourceDesc (ResourceType type, DataFlow flow, ResourcePolicy policy, int slot, const char *sksl)
 
constexpr ResourceDesc (ResourceType type, DataFlow flow, ResourcePolicy policy, const char *sksl)
 

Public Attributes

ResourceType fType
 
DataFlow fFlow
 
ResourcePolicy fPolicy
 
int fSlot
 
const char * fSkSL = ""
 

Detailed Description

Definition at line 115 of file ComputeStep.h.

Constructor & Destructor Documentation

◆ ResourceDesc() [1/3]

constexpr skgpu::graphite::ComputeStep::ResourceDesc::ResourceDesc ( ResourceType  type,
DataFlow  flow,
ResourcePolicy  policy,
int  slot = -1 
)
inlineconstexpr

◆ ResourceDesc() [2/3]

constexpr skgpu::graphite::ComputeStep::ResourceDesc::ResourceDesc ( ResourceType  type,
DataFlow  flow,
ResourcePolicy  policy,
int  slot,
const char *  sksl 
)
inlineconstexpr

Definition at line 134 of file ComputeStep.h.

139 : fType(type), fFlow(flow), fPolicy(policy), fSlot(slot), fSkSL(sksl) {}

◆ ResourceDesc() [3/3]

constexpr skgpu::graphite::ComputeStep::ResourceDesc::ResourceDesc ( ResourceType  type,
DataFlow  flow,
ResourcePolicy  policy,
const char *  sksl 
)
inlineconstexpr

Definition at line 141 of file ComputeStep.h.

145 : fType(type), fFlow(flow), fPolicy(policy), fSlot(-1), fSkSL(sksl) {}

Member Data Documentation

◆ fFlow

DataFlow skgpu::graphite::ComputeStep::ResourceDesc::fFlow

Definition at line 117 of file ComputeStep.h.

◆ fPolicy

ResourcePolicy skgpu::graphite::ComputeStep::ResourceDesc::fPolicy

Definition at line 118 of file ComputeStep.h.

◆ fSkSL

const char* skgpu::graphite::ComputeStep::ResourceDesc::fSkSL = ""

Definition at line 126 of file ComputeStep.h.

◆ fSlot

int skgpu::graphite::ComputeStep::ResourceDesc::fSlot

Definition at line 122 of file ComputeStep.h.

◆ fType

ResourceType skgpu::graphite::ComputeStep::ResourceDesc::fType

Definition at line 116 of file ComputeStep.h.


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