Skip to main content

IsFrustumCullerLike.ixx File

Concept that validates frustum-culling strategy types. More...

Included Headers

#include <concepts> #include <helios.engine.scene.types.CullingContext> #include <helios.ecs.types.EntityHandle>

Namespaces Index

namespacehelios
namespaceengine
namespacescene
namespaceconcepts

Description

Concept that validates frustum-culling strategy types.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7#include<concepts>
8
9export module helios.engine.scene.concepts.IsFrustumCullerLike;
10
11import helios.ecs.types.EntityHandle;
12import helios.engine.scene.types.CullingContext;
13
14using namespace helios::ecs::types;
15using namespace helios::engine::scene::types;
16export namespace helios::engine::scene::concepts {
17
27 template <typename T, typename TMemberHandle>
28 concept IsFrustumCullerLike = requires(T& t, const TMemberHandle entityHandle, const CullingContext<TMemberHandle>& cullingContext)
29 {
30 {t.shouldRender(cullingContext)}-> std::same_as<bool>;
31
32 };
33
34}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.