Flutter Engine
The Flutter Engine
|
#include <SkSLSampleUsage.h>
Public Types | |
enum class | Kind { kNone , kPassThrough , kUniformMatrix , kFragCoord , kExplicit } |
Public Member Functions | |
SampleUsage ()=default | |
SampleUsage (Kind kind, bool hasPerspective) | |
bool | operator== (const SampleUsage &that) const |
bool | operator!= (const SampleUsage &that) const |
SampleUsage | merge (const SampleUsage &other) |
Kind | kind () const |
bool | hasPerspective () const |
bool | isSampled () const |
bool | isPassThrough () const |
bool | isExplicit () const |
bool | isUniformMatrix () const |
bool | isFragCoord () const |
Static Public Member Functions | |
static SampleUsage | UniformMatrix (bool hasPerspective) |
static SampleUsage | Explicit () |
static SampleUsage | PassThrough () |
static SampleUsage | FragCoord () |
static const char * | MatrixUniformName () |
Represents all of the ways that a fragment processor is sampled by its parent.
Definition at line 18 of file SkSLSampleUsage.h.
|
strong |
Enumerator | |
---|---|
kNone | |
kPassThrough | |
kUniformMatrix | |
kFragCoord | |
kExplicit |
Definition at line 20 of file SkSLSampleUsage.h.
|
default |
|
inline |
Definition at line 36 of file SkSLSampleUsage.h.
|
inlinestatic |
Definition at line 47 of file SkSLSampleUsage.h.
|
inlinestatic |
Definition at line 55 of file SkSLSampleUsage.h.
|
inline |
Definition at line 70 of file SkSLSampleUsage.h.
|
inline |
Definition at line 74 of file SkSLSampleUsage.h.
|
inline |
Definition at line 76 of file SkSLSampleUsage.h.
|
inline |
Definition at line 73 of file SkSLSampleUsage.h.
|
inline |
Definition at line 72 of file SkSLSampleUsage.h.
|
inline |
Definition at line 75 of file SkSLSampleUsage.h.
|
inline |
Definition at line 68 of file SkSLSampleUsage.h.
|
inlinestatic |
Definition at line 64 of file SkSLSampleUsage.h.
SampleUsage SkSL::SampleUsage::merge | ( | const SampleUsage & | other | ) |
Definition at line 14 of file SkSLSampleUsage.cpp.
|
inline |
Definition at line 61 of file SkSLSampleUsage.h.
|
inline |
Definition at line 57 of file SkSLSampleUsage.h.
|
inlinestatic |
Definition at line 51 of file SkSLSampleUsage.h.
|
inlinestatic |
Definition at line 43 of file SkSLSampleUsage.h.