diff options
Diffstat (limited to 'Userland/Libraries/LibSoftGPU/DepthBuffer.h')
-rw-r--r-- | Userland/Libraries/LibSoftGPU/DepthBuffer.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Userland/Libraries/LibSoftGPU/DepthBuffer.h b/Userland/Libraries/LibSoftGPU/DepthBuffer.h deleted file mode 100644 index 4fb6f078b5..0000000000 --- a/Userland/Libraries/LibSoftGPU/DepthBuffer.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org> - * - * SPDX-License-Identifier: BSD-2-Clause - */ - -#pragma once - -#include <LibGfx/Rect.h> -#include <LibGfx/Size.h> - -namespace SoftGPU { - -class DepthBuffer final { -public: - DepthBuffer(Gfx::IntSize const&); - ~DepthBuffer(); - - float* scanline(int y); - - void clear(float depth); - void clear(Gfx::IntRect bounds, float depth); - -private: - Gfx::IntSize m_size; - float* m_data { nullptr }; -}; - -} |