KDGpuExample::AdvancedExampleEngineLayer¶
Module: KDGpuExample API
AdvancedExampleEngineLayer ...
#include <KDGpuExample/advanced_example_engine_layer.h>
Inherits from KDGpuExample::ExampleEngineLayer, KDGpuExample::EngineLayer, KDFoundation::Object
Inherited by HelloTriangle
Public Functions¶
| Name | |
|---|---|
| AdvancedExampleEngineLayer() =default | |
| ~AdvancedExampleEngineLayer() override =default | 
Protected Functions¶
| Name | |
|---|---|
| virtual void | onAttached() override | 
| virtual void | onDetached() override | 
| virtual void | update() override | 
Protected Attributes¶
| Name | |
|---|---|
| std::array< Fence, MAX_FRAMES_IN_FLIGHT > | m_frameFences | 
Additional inherited members¶
Public Functions inherited from KDGpuExample::ExampleEngineLayer
| Name | |
|---|---|
| ExampleEngineLayer() | |
| ~ExampleEngineLayer() override | |
| KDGpuKDGui::View * | window() | 
| void | uploadBufferData(const KDGpu::BufferUploadOptions & options) | 
| void | uploadTextureData(const KDGpu::TextureUploadOptions & options) | 
Protected Functions inherited from KDGpuExample::ExampleEngineLayer
| Name | |
|---|---|
| virtual void | initializeScene() =0 | 
| virtual void | cleanupScene() =0 | 
| virtual void | updateScene() =0 | 
| virtual void | render() =0 | 
| virtual void | resize() =0 | 
| virtual void | drawImGuiOverlay(ImGuiContext * ctx) | 
| virtual void | renderImGuiOverlay(KDGpu::RenderPassCommandRecorder * recorder, uint32_t inFlightIndex =0, KDGpu::RenderPass * currentRenderPass =nullptr, int lastSubpassIndex =0) | 
| void | registerImGuiOverlayDrawFunction(const std::function< void(ImGuiContext *)> & func) | 
| void | clearImGuiOverlayDrawFunctions() | 
| void | recreateImGuiOverlay() | 
| void | event(KDFoundation::EventReceiver * target, KDFoundation::Event * ev) override | 
| virtual void | recreateSwapChain() | 
| void | recreateDepthTexture() | 
| void | recreateSampleDependentResources() | 
| void | releaseStagingBuffers() | 
Protected Attributes inherited from KDGpuExample::ExampleEngineLayer
Public Functions inherited from KDGpuExample::EngineLayer
| Name | |
|---|---|
| ~EngineLayer() override | |
| const Engine * | engine() const | 
| Engine * | engine() | 
Friends inherited from KDGpuExample::EngineLayer
| Name | |
|---|---|
| class | Engine | 
Public Functions Documentation¶
function AdvancedExampleEngineLayer¶
1 |  | 
function ~AdvancedExampleEngineLayer¶
1 |  | 
Protected Functions Documentation¶
function onAttached¶
1 |  | 
Reimplements: KDGpuExample::EngineLayer::onAttached
function onDetached¶
1 |  | 
Reimplements: KDGpuExample::EngineLayer::onDetached
function update¶
1 |  | 
Reimplements: KDGpuExample::EngineLayer::update
Protected Attributes Documentation¶
variable m_frameFences¶
1 |  | 
Updated on 2025-11-02 at 00:01:42 +0000