| 5 | #include "Rendering/backend/WGPUContext.h" |
| 6 | |
| 7 | void RendererWGPU::initMemoryOrderBuffer() { |
| 8 | lineLayer_.memoryOrderVb = WGPUContext::instance().createBuffer(128, wgpu::BufferUsage::Vertex | wgpu::BufferUsage::CopyDst, "Memory_Order_Geometry"); |
| 9 | lineLayer_.memoryOrderVbCapacity = 128; |
| 10 | } |
| 11 | |
| 12 | void RendererWGPU::drawMemoryOrderImpl(const View::RenderAtomsView& atoms) { |
| 13 | if (atoms.count < 2 || !atoms.hasPositions()) { |
nothing calls this directly
no test coverage detected