38 ClassType clazz(
"offline-render-agent");
39 clazz.docName(
"Offline Render Agent");
40 clazz.description(
"Controls offline rendering.");
43 TSdlEnumField<OwnerType, EPictureFile> outputFileFormat(
"output-file-format", &OwnerType::m_outputFileFormat);
44 outputFileFormat.description(
"File format of the rendered output.");
45 outputFileFormat.defaultTo(EPictureFile::PNG);
46 clazz.addField(outputFileFormat);
48 TSdlBool<OwnerType> useCopiedScene(
"use-copied-scene", &OwnerType::m_useCopiedScene);
49 useCopiedScene.description(
50 "Whether to use a copied scene for rendering.");
51 useCopiedScene.defaultTo(
true);
52 clazz.addField(useCopiedScene);
54 TSdlBool<OwnerType> enableStatsRequest(
"enable-stats-request", &OwnerType::m_enableStatsRequest);
55 enableStatsRequest.description(
56 "Whether to enable the retrieval of rendering statistics.");
57 enableStatsRequest.defaultTo(
true);
58 clazz.addField(enableStatsRequest);
60 TSdlBool<OwnerType> enablePeekingFrame(
"enable-peeking-frame", &OwnerType::m_enablePeekingFrame);
61 enablePeekingFrame.description(
62 "Whether to enable the retrieval of intermediate rendering result.");
63 enablePeekingFrame.defaultTo(
true);
64 clazz.addField(enablePeekingFrame);