KDGpuExample::Engine
Module: KDGpuExample API
Engine ...
#include <KDGpuExample/engine.h>
Inherits from KDFoundation::Object
Public Functions
Public Attributes
|
Name |
KDBindings::Property< bool > |
running |
KDBindings::Property< double > |
fps |
Public Functions Documentation
function Engine
function ~Engine
function attachEngineLayer
| EngineLayer * attachEngineLayer(
std::unique_ptr< EngineLayer > && engineLayer
)
|
function detachEngineLayer
| std::unique_ptr< EngineLayer > detachEngineLayer(
EngineLayer * engineLayer
)
|
function engineLayers
| inline const std::vector< std::unique_ptr< EngineLayer > > & engineLayers() const
|
function createEngineLayer
| template <typename T ,
typename... Ts>
inline T * createEngineLayer(
Ts... args
)
|
function engineLayer
| template <typename T >
inline T * engineLayer() const
|
function event
| void event(
KDFoundation::EventReceiver * target,
KDFoundation::Event * ev
) override
|
function requestFrame
function doFrame
function startTime
| inline TimePoint startTime() const
|
function currentFrameTime
| inline TimePoint currentFrameTime() const
|
function previousFrameTime
| inline TimePoint previousFrameTime() const
|
| inline uint64_t frameNumber() const
|
function deltaTimeSeconds
| inline float deltaTimeSeconds() const
|
function simulationTime
| inline std::chrono::nanoseconds simulationTime() const
|
Public Attributes Documentation
variable running
| KDBindings::Property< bool > running { false };
|
variable fps
| KDBindings::Property< double > fps { 0.0 };
|
Updated on 2024-12-04 at 00:02:15 +0000