Flutter Engine
The Flutter Engine
|
#include <Uniform.h>
Public Member Functions | |
constexpr | Uniform (const char *name, SkSLType type, int count=kNonArray) |
constexpr | Uniform (const Uniform &)=default |
Uniform & | operator= (const Uniform &)=default |
constexpr const char * | name () const |
constexpr SkSLType | type () const |
constexpr int | count () const |
constexpr bool | isPaintColor () const |
Static Public Member Functions | |
static constexpr Uniform | PaintColor () |
Static Public Attributes | |
static constexpr int | kNonArray = 0 |
Describes a uniform. Uniforms consist of: name: The constant string name to use in the generated SkSL (with mangling) type: The type of the uniform count: Number of elements of 'type' in the array or kNonArray if not an array.
|
inlineconstexpr |
Definition at line 27 of file Uniform.h.
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |