Skip to main content

NullCommandBuffer.ixx File

No-op command buffer implementation used as a default command-buffer type. More...

Included Headers

Namespaces Index

namespacehelios
namespaceengine
namespaceruntime
namespacemessaging
namespacecommand

Classes Index

classNullCommandBuffer

Command buffer implementation that intentionally performs no work. More...

Description

No-op command buffer implementation used as a default command-buffer type.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7export module helios.engine.runtime.messaging.command.NullCommandBuffer;
8
9import helios.engine.runtime.messaging.command.tags.CommandBufferRole;
10import helios.engine.runtime.world.UpdateContext;
11
15
22
23 public:
24
26
27 template<class T, class... Args>
28 void add(Args&&... args) {/*intentionally noop*/}
29
30 void flush(UpdateContext& updateContext) noexcept {/*intentionally noop*/}
31
32 void clear() noexcept {/*intentionally noop*/}
33 };
34
35
36}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.