Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
ComputeSystemDX12Impl.h
Go to the documentation of this file.
1// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
2// SPDX-FileCopyrightText: 2025 Jorrit Rouwe
3// SPDX-License-Identifier: MIT
4
5#pragma once
6
7#ifdef JPH_USE_DX12
8
10
12
14class JPH_EXPORT ComputeSystemDX12Impl : public ComputeSystemDX12
15{
16public:
18
20 virtual ~ComputeSystemDX12Impl() override;
21
23 bool Initialize(ComputeSystemResult &outResult);
24
25 IDXGIFactory4 * GetDXGIFactory() const { return mDXGIFactory.Get(); }
26
27private:
28 ComPtr<IDXGIFactory4> mDXGIFactory;
29};
30
32
33#endif // JPH_USE_DX12
#define JPH_EXPORT
Definition Core.h:275
#define JPH_NAMESPACE_END
Definition Core.h:425
#define JPH_NAMESPACE_BEGIN
Definition Core.h:419
#define JPH_OVERRIDE_NEW_DELETE
Macro to override the new and delete functions.
Definition Memory.h:50
Helper class that either contains a valid result or an error.
Definition Result.h:12