Skip to main content

IsRenderTargetHandle.ixx File

Concept constraining render target handle types. More...

Included Headers

Namespaces Index

namespacehelios
namespaceengine
namespacerendering
namespacecommon
namespaceconcepts

Description

Concept constraining render target 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.IsRenderTargetHandle;
10
11import helios.engine.rendering.viewport.types.ViewportHandle;
12import helios.engine.rendering.renderTarget.types.RenderTargetHandle;
13
16export namespace helios::engine::rendering::common::concepts {
17
23 template<typename T>
24 concept IsRenderTargetHandle = std::is_same_v<T, ViewportHandle> ||
25 std::is_same_v<T, RenderTargetHandle>;
26
27}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.