8#ifndef skgpu_graphite_Attribute_DEFINED
9#define skgpu_graphite_Attribute_DEFINED
33 constexpr const char*
name()
const {
return fName; }
41 const char* fName =
nullptr;
static constexpr T SkAlign4(T x)
constexpr bool isInitialized() const
constexpr Attribute()=default
Attribute & operator=(const Attribute &)=default
constexpr size_t size() const
constexpr Attribute(const char *name, VertexAttribType cpuType, SkSLType gpuType)
constexpr SkSLType gpuType() const
constexpr VertexAttribType cpuType() const
constexpr Attribute(const Attribute &)=default
constexpr const char * name() const
constexpr size_t sizeAlign4() const
static constexpr size_t VertexAttribTypeSize(VertexAttribType type)