8#ifndef skgpu_graphite_Uniform_DEFINED
9#define skgpu_graphite_Uniform_DEFINED
42 constexpr const char*
name()
const {
return fName; }
44 constexpr int count()
const {
return static_cast<int>(fCount); }
46 constexpr bool isPaintColor()
const {
return static_cast<bool>(fIsPaintColor); }
51 , fType(static_cast<unsigned>(
type))
53 , fCount(static_cast<unsigned>(
count)) {
66 uint32_t fIsPaintColor : 1;
static constexpr bool SkSLTypeCanBeUniformValue(SkSLType type)
static const int kSkSLTypeCount