8#ifndef SkVerticesPriv_DEFINED
9#define SkVerticesPriv_DEFINED
32 int indexCount()
const {
return fVertices->fIndexCount; }
37 const uint16_t*
indices()
const {
return fVertices->fIndices; }
static constexpr bool SkToBool(const T &x)
SkVertices::VertexMode mode() const
bool hasTexCoords() const
void encode(SkWriteBuffer &) const
const SkColor * colors() const
const uint16_t * indices() const
const SkPoint * texCoords() const
static sk_sp< SkVertices > Decode(SkReadBuffer &)
SkVerticesPriv(const SkVerticesPriv &)=default
const SkPoint * positions() const
friend class SkVerticesPriv