• Home
  • Raw
  • Download

Lines Matching refs:VertexWriter

112 struct VertexWriter : public BufferWriter {  struct
115 VertexWriter() = default; argument
117 explicit VertexWriter(void* ptr) : BufferWriter(ptr, Mark()) {} in VertexWriter() argument
119 VertexWriter(void* ptr, size_t size) : BufferWriter(ptr, size) {} in VertexWriter() function
120 VertexWriter(void* ptr, Mark end) : BufferWriter(ptr, end) {} in VertexWriter() function
122 VertexWriter(const VertexWriter&) = delete;
123 VertexWriter(VertexWriter&& that) { *this = std::move(that); } in VertexWriter() function
125 VertexWriter& operator=(const VertexWriter&) = delete; argument
126 VertexWriter& operator=(VertexWriter&& that) {
131 VertexWriter makeOffset(size_t offsetInBytes) const { in makeOffset() argument
132 return this->BufferWriter::makeOffset<VertexWriter>(offsetInBytes); in makeOffset()
194 void writeVertex(int cornerIdx, VertexWriter& w) const { in writeVertex() argument
216 void writeVertex(int cornerIdx, VertexWriter& w) const { in writeVertex() argument
259 friend VertexWriter& operator<<(VertexWriter&, const T&); argument
262 friend VertexWriter& operator<<(VertexWriter&, const ArrayDesc<T>&);
266 inline VertexWriter& operator<<(VertexWriter& w, const T& val) {
275 inline VertexWriter& operator<<(VertexWriter& w, const VertexWriter::Conditional<T>& val) {
284 inline VertexWriter& operator<<(VertexWriter& w, const VertexWriter::Skip<T>& val) {
290 inline VertexWriter& operator<<(VertexWriter& w, const VertexWriter::ArrayDesc<T>& array) {
299 inline VertexWriter& operator<<(VertexWriter& w, const VertexWriter::RepeatDesc<kCount,T>& repeat) {
307 [[maybe_unused]] inline VertexWriter& operator<<(VertexWriter& w, const skvx::float4& vector) {
316 inline VertexWriter& operator<<(VertexWriter&& w, const T& val) { return w << val; }
319 struct VertexWriter::is_quad<VertexWriter::TriStrip<T>> : std::true_type {};
322 struct VertexWriter::is_quad<VertexWriter::TriFan<T>> : std::true_type {};
350 friend VertexWriter& operator<<(VertexWriter&, const T&);
357 [[maybe_unused]] inline VertexWriter& operator<<(VertexWriter& w, const VertexColor& color) {