#include <GrQuadBuffer.h>
template<typename
T>
class GrQuadBuffer< T >::MetadataIter
Definition at line 121 of file GrQuadBuffer.h.
◆ MetadataIter()
Definition at line 123 of file GrQuadBuffer.h.
124 : fBuffer(list)
125 , fCurrentEntry(nullptr) {
126 SkDEBUGCODE(fExpectedCount = list->
count();)
127 }
◆ next()
Definition at line 361 of file GrQuadBuffer.h.
361 {
362 if (fCurrentEntry) {
363
364 if (fCurrentEntry < fBuffer->fData.end()) {
365 const Header*
h = fBuffer->header(fCurrentEntry);
366 fCurrentEntry += fBuffer->entrySize(
h);
367 }
368 } else {
369
370 fCurrentEntry = fBuffer->fData.begin();
371 }
372
373 return fCurrentEntry < fBuffer->fData.end();
374}
◆ operator*()
Definition at line 131 of file GrQuadBuffer.h.
131{ this->validate(); return *(fBuffer->metadata(fCurrentEntry)); }
◆ operator->()
Definition at line 133 of file GrQuadBuffer.h.
133{ this->validate(); return fBuffer->metadata(fCurrentEntry); }
The documentation for this class was generated from the following file: