Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
ObjectToIDMap.h
Go to the documentation of this file.
1
// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
2
// SPDX-FileCopyrightText: 2026 Jorrit Rouwe
3
// SPDX-License-Identifier: MIT
4
5
#pragma once
6
7
#include <
Jolt/Core/UnorderedMapFwd.h
>
8
9
JPH_NAMESPACE_BEGIN
10
11
namespace
StreamUtils
{
12
13
template
<
class
Type>
14
using
ObjectToIDMap
=
UnorderedMap<const Type *, uint32>
;
15
16
template
<
class
Type>
17
using
IDToObjectMap
=
Array<Ref<Type>
>;
18
19
}
// StreamUtils
20
21
JPH_NAMESPACE_END
JPH_NAMESPACE_END
#define JPH_NAMESPACE_END
Definition
Core.h:425
JPH_NAMESPACE_BEGIN
#define JPH_NAMESPACE_BEGIN
Definition
Core.h:419
UnorderedMapFwd.h
Array
Definition
Array.h:36
UnorderedMap
Definition
UnorderedMap.h:31
StreamUtils
Definition
ObjectToIDMap.h:11
Jolt
Core
ObjectToIDMap.h
Generated by
1.12.0