Debian Codegraph @

Source/Core/VideoBackends/Null/NullBoundingBox.h

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