1// Copyright (C) 2020 Klaralvdalens Datakonsult AB (KDAB).
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include "rhirendertarget_p.h"
5QT_BEGIN_NAMESPACE
6
7namespace Qt3DRender {
8
9namespace Render {
10
11namespace Rhi {
12
13void RHIRenderTarget::cleanup()
14{
15 delete renderPassDescriptor;
16 delete renderTarget;
17 delete depthStencilBuffer;
18 renderPassDescriptor = nullptr;
19 renderTarget = nullptr;
20 depthStencilBuffer = nullptr;
21}
22
23RHIRenderTarget::~RHIRenderTarget()
24{
25}
26
27} // namespace Rhi
28} // namespace Render
29} // namespace Qt3DRender
30
31QT_END_NAMESPACE
32

source code of qt3d/src/plugins/renderers/rhi/renderer/rhirendertarget.cpp