Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Assets::AssetHandleHash< Tag > Struct Template Reference

Allows handles to be used as unordered_map/set keys without losing the handle's type safety. More...

#include <AssetHandles.h>

Inheritance diagram for Engine::Assets::AssetHandleHash< Tag >:

Public Member Functions

std::size_t operator() (AssetHandle< Tag > handle) const noexcept
 Computes a hash from a handle's slot index and generation.

Detailed Description

template<typename Tag>
struct Engine::Assets::AssetHandleHash< Tag >

Allows handles to be used as unordered_map/set keys without losing the handle's type safety.

Definition at line 73 of file AssetHandles.h.

Member Function Documentation

◆ operator()()

template<typename Tag>
std::size_t Engine::Assets::AssetHandleHash< Tag >::operator() ( AssetHandle< Tag > handle) const
inlinenoexcept

Computes a hash from a handle's slot index and generation.

Definition at line 78 of file AssetHandles.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Asset/AssetHandles.h