Loading...
Searching...
No Matches
oscr::has_renderer_state Concept Reference
#include <Metadatas.hpp>
Concept definition
template<typename T>
|| requires { &T::update; } || requires { &T::release; }
|| requires { &T::runInitialPasses; } || requires { &T::runRenderPass; }
|| requires { &T::inputAboutToFinish; }
Definition Metadatas.hpp:61
Detailed Description
Does the object declare any of the renderer-side entry points score calls on the object it gives a renderer? Such an object holds state that belongs to one RenderList and cannot be shared between them.
Detection is by address-of on the member: an object hiding one of these behind a template or an overload set reads as "no hook" here.