13class SceneDescription;
14class FormattedTextOutputStream;
32 const Path& sceneFile,
33 const Path& sceneWorkingDirectory);
54 std::string_view commandStr,
Write text with basic auto formatting applied.
Definition FormattedTextOutputStream.h:17
Interface for all SDL resource.
Definition ISdlResource.h:22
General path representation. Does not check whether the target actually exists (e....
Definition Path.h:21
Data that describe a scene. Represents the result of running SDL commands.
Definition SceneDescription.h:14
Definition SdlCommandGenerator.h:22
Resolves dependency between SDL resources and provides a valid initialization order....
Definition SdlDependencyResolver.h:21
Definition SdlNamedOutputClauses.h:18
Definition SdlOutputClauses.h:14
Data that SDL output process can rely on.
Definition SdlOutputContext.h:19
Saving utility for renderer scene. Writes .p2 (Photon-v2) file.
Definition SdlSceneFileWriter.h:20
void write(const SceneDescription &scene)
Writes the scene to the writer-specified destination.
Definition SdlSceneFileWriter.cpp:99
void endCommand() override
Called when the generator finishes producing a command. This is called last in the sequence of handle...
Definition SdlSceneFileWriter.cpp:60
void commandGenerated(std::string_view commandStr, const SdlOutputContext &ctx) override
Called when one or more commands are generated.
Definition SdlSceneFileWriter.cpp:87
void saveResource(const ISdlResource *resource, const SdlOutputContext &ctx, SdlOutputClauses &clauses) override
Save target resource into output clauses.
Definition SdlSceneFileWriter.cpp:63
bool beginCommand(const SdlClass *targetClass, SdlOutputContext *out_ctx) override
Called when the generator starts producing a command.
Definition SdlSceneFileWriter.cpp:47
SdlSceneFileWriter()
Definition SdlSceneFileWriter.cpp:23
void setSceneFile(Path sceneFile)
Definition SdlSceneFileWriter.cpp:114
The root for all renderer implementations.
Definition EEngineProject.h:6
std::span< const T, EXTENT > TSpanView
Same as TSpan, except that the objects are const-qualified. Note that for pointer types,...
Definition TSpan.h:19