mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 21:43:03 +02:00
a few more
This commit is contained in:
parent
722e88253d
commit
09b7a5188c
1 changed files with 4 additions and 4 deletions
|
@ -528,8 +528,8 @@ public:
|
||||||
Varying _input;
|
Varying _input;
|
||||||
Varying _output;
|
Varying _output;
|
||||||
|
|
||||||
const Varying getInput() const { return _input; }
|
const Varying getInput() const override { return _input; }
|
||||||
const Varying getOutput() const { return _output; }
|
const Varying getOutput() const override { return _output; }
|
||||||
|
|
||||||
template <class... A>
|
template <class... A>
|
||||||
Model(const Varying& input, A&&... args) :
|
Model(const Varying& input, A&&... args) :
|
||||||
|
@ -540,11 +540,11 @@ public:
|
||||||
applyConfiguration();
|
applyConfiguration();
|
||||||
}
|
}
|
||||||
|
|
||||||
void applyConfiguration() {
|
void applyConfiguration() override {
|
||||||
jobConfigure(_data, *std::static_pointer_cast<C>(_config));
|
jobConfigure(_data, *std::static_pointer_cast<C>(_config));
|
||||||
}
|
}
|
||||||
|
|
||||||
void run(const SceneContextPointer& sceneContext, const RenderContextPointer& renderContext) {
|
void run(const SceneContextPointer& sceneContext, const RenderContextPointer& renderContext) override {
|
||||||
renderContext->jobConfig = std::static_pointer_cast<Config>(_config);
|
renderContext->jobConfig = std::static_pointer_cast<Config>(_config);
|
||||||
if (renderContext->jobConfig->alwaysEnabled || renderContext->jobConfig->enabled) {
|
if (renderContext->jobConfig->alwaysEnabled || renderContext->jobConfig->enabled) {
|
||||||
jobRun(_data, sceneContext, renderContext, _input.get<I>(), _output.edit<O>());
|
jobRun(_data, sceneContext, renderContext, _input.get<I>(), _output.edit<O>());
|
||||||
|
|
Loading…
Reference in a new issue