| 3 | #include "Rendering/backend/WGPUContext.h" |
| 4 | |
| 5 | void RendererWGPU::initBoxBuffer() { |
| 6 | lineLayer_.boxVb = WGPUContext::instance().createBuffer(24 * 3 * sizeof(float), wgpu::BufferUsage::Vertex | wgpu::BufferUsage::CopyDst, "Box_Geometry"); |
| 7 | } |
| 8 | |
| 9 | void RendererWGPU::drawBoxImpl(const glm::vec3& worldSize) { |
| 10 | if (worldSize != lineLayer_.cachedBoxSize) { |
nothing calls this directly
no test coverage detected