Lines Matching refs:Attribute
64 class Attribute {
66 constexpr Attribute() = default;
67 constexpr Attribute(const char* name,
73 constexpr Attribute(const Attribute&) = default;
75 Attribute& operator=(const Attribute&) = default;
105 Iter(const Attribute* attrs, int count) : fCurr(attrs), fRemaining(count) {
110 const Attribute& operator*() const { return *fCurr; }
130 const Attribute* fCurr;
145 void init(const Attribute* attrs, int count) {
158 const Attribute* fAttributes = nullptr;
208 auto add_attributes = [=](const Attribute* attrs, int attrCount) {
210 const Attribute& attr = attrs[i];
230 // configured Attribute struct
231 static Attribute MakeColorAttribute(const char* name, bool wideColor) {
237 void setVertexAttributes(const Attribute* attrs, int attrCount) {
240 void setInstanceAttributes(const Attribute* attrs, int attrCount) {
591 constexpr size_t GrGeometryProcessor::Attribute::size() const {