MCPcopy Create free account
hub / github.com/Tencent/tgfx / RectsVertexProvider

Method RectsVertexProvider

src/gpu/RectsVertexProvider.cpp:220–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220RectsVertexProvider::RectsVertexProvider(PlacementArray<RectRecord>&& rects,
221 PlacementArray<Rect>&& uvRects, AAType aaType,
222 bool hasUVCoord, bool hasColor, UVSubsetMode subsetMode,
223 std::shared_ptr<BlockBuffer> reference)
224 : VertexProvider(std::move(reference)), rects(std::move(rects)), uvRects(std::move(uvRects)) {
225 bitFields.aaType = static_cast<uint8_t>(aaType);
226 bitFields.hasUVCoord = hasUVCoord;
227 bitFields.hasColor = hasColor;
228 bitFields.subsetMode = static_cast<uint8_t>(subsetMode);
229}
230} // namespace tgfx

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected