candlewick 0.1.0
A renderer
Loading...
Searching...
No Matches
candlewick::Scene Concept Reference

#include <candlewick/core/Scene.h>

Concept definition

template<typename T>
concept candlewick::Scene = requires(T t, CommandBuffer &cmdBuf, const Camera &camera) {
{ t.render(cmdBuf, camera) } -> std::same_as<void>;
{ t.release() } -> std::same_as<void>;
}
Definition CommandBuffer.h:17
Definition Scene.h:15
The main way of using a camera to render things.
Definition Camera.h:19

Detailed Description

The Scene concept requires that there exist functions to render the scene. provided a Renderer and Camera, and that there is a function to release the resources of the Scene.

See also
Renderer
Camera