7#include <Common/primitive_type.h>
13namespace ph {
class CoreCookingContext; }
14namespace ph {
class SceneDescription; }
40 std::string m_sessionName;
46 ClassType clazz(
"render-session");
47 clazz.docName(
"Render Session");
48 clazz.description(
"Settings for how to perform a render operation.");
52 sessionName.description(
"Name of this render session.");
53 sessionName.defaultTo(
"Render Session");
54 sessionName.optional();
55 clazz.addField(sessionName);
58 numWorkers.description(
"Number of worker threads for the rendering operation.");
Definition CoreCookingContext.h:15
Definition RenderSession.h:20
PH_DEFINE_SDL_CLASS(TSdlOwnerClass< RenderSession >)
Definition RenderSession.h:44
virtual void applyToContext(CoreCookingContext &ctx) const =0
Apply settings to the context.
Definition RenderSession.cpp:7
virtual std::vector< std::shared_ptr< CoreSdlResource > > gatherResources(const SceneDescription &scene) const =0
Gather resources for this render session.
Definition RenderSession.cpp:12
uint32 numWorkers() const
Definition RenderSession.h:69
Data that describe a scene. Represents the result of running SDL commands.
Definition SceneDescription.h:14
A field class that binds a integral member variable.
Definition TSdlInteger.h:21
SDL binding type for a canonical SDL resource class.
Definition TSdlOwnerClass.h:23
Definition TSdlString.h:14
The root for all renderer implementations.
Definition EEngineProject.h:6