File: global_executors.h

package info (click to toggle)
freespace2 25.0.0~rc11%2Brepack-1
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 47,232 kB
  • sloc: cpp: 657,500; ansic: 22,305; sh: 293; python: 200; makefile: 198; xml: 181
file content (18 lines) | stat: -rw-r--r-- 381 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "Executor.h"

namespace executor
{

/**
 * @brief Executor that will be called at the end of every simulation frame.
 */
extern const std::shared_ptr<Executor> OnSimulationExecutor;

/**
 * @brief Executor that will be called just before the game triggers the presentation of the current frame.
 */
extern const std::shared_ptr<Executor> OnFrameExecutor;

}