Flutter Engine
The Flutter Engine
|
#include <BufferWriter.h>
Specialized utilities for writing a four-vertices, with some data being replicated at each vertex, and other data being the appropriate 2-components from an SkRect to construct a triangle strip.
template<> struct VertexWriter::is_quad<MyQuadClass> : std::true_type {};and define:
MyQuadClass::writeVertex(int cornerIdx, VertexWriter&) const { ... }
Definition at line 201 of file BufferWriter.h.