Debian Codegraph @

Source/Core/VideoBackends/OGL/OGLBoundingBox.h

raw symbols SCIP
1 // Copyright 2014 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #pragma once
5
6 #include "Common/CommonTypes.h"
7 #include "Common/GL/GLExtensions/GLExtensions.h"
8
9 #include "VideoCommon/BoundingBox.h"
10
11 namespace OGL
12 {
13 class OGLBoundingBox final : public BoundingBox
14 {
15 public:
16 ~OGLBoundingBox() override;
17
18 bool Initialize() override;
19
20 protected:
21 std::vector<BBoxType> Read(u32 index, u32 length) override;
22 void Write(u32 index, std::span<const BBoxType> values) override;
23
24 private:
25 GLuint m_buffer_id = 0;
26 };
27
28 } // namespace OGL