Skip to main content

IsRenderResourceHandle.ixx File

Concept constraining render resource handle types. More...

Included Headers

Namespaces Index

namespacehelios
namespaceengine
namespacerendering
namespacecommon
namespaceconcepts

Description

Concept constraining render resource handle types.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7#include <concepts>
8
9export module helios.engine.rendering.common.concepts.IsRenderResourceHandle;
10
11import helios.engine.rendering.shader.types.ShaderHandle;
12import helios.engine.rendering.material.types.MaterialHandle;
13import helios.engine.rendering.mesh.types.MeshHandle;
14
18export namespace helios::engine::rendering::common::concepts {
19
25 template<typename T>
26 concept IsRenderResourceHandle = std::is_same_v<T, ShaderHandle> ||
27 std::is_same_v<T, MaterialHandle> ||
28 std::is_same_v<T, MeshHandle>;
29
30}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.