KDGpuExample::SimpleExampleEngineLayer¶
Module: KDGpuExample API
#include <KDGpuExample/simple_example_engine_layer.h>
Inherits from KDGpuExample::ExampleEngineLayer, KDGpuExample::EngineLayer, KDFoundation::Object
Inherited by BindGroupIndexing, BindGroupPartiallyBound, BufferReference, ComputeOitTransparency, ComputeParticles, DepthBias, DepthTextureLookup, DynamicUBOTriangles, HelloSphereMesh, HelloSphereRt, HelloTriangle, HelloTriangle, HelloTriangle, HelloTriangleMSAA, HelloTriangleRt, HybridRasterRt, MultiView, MultiViewStereo, RenderToTexture, RenderToTextureSubpass, TexturedQuad
Public Functions¶
Name | |
---|---|
SimpleExampleEngineLayer() =default | |
~SimpleExampleEngineLayer() override |
Protected Functions¶
Name | |
---|---|
virtual void | update() override |
void | event(KDFoundation::EventReceiver * target, KDFoundation::Event * ev) override |
Additional inherited members¶
Public Functions inherited from KDGpuExample::ExampleEngineLayer
Name | |
---|---|
ExampleEngineLayer() | |
~ExampleEngineLayer() override | |
KDGpuKDGui::View * | window() |
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(RenderPassCommandRecorder * recorder, uint32_t inFlightIndex =0, RenderPass * currentRenderPass =nullptr, int lastSubpassIndex =0) |
void | registerImGuiOverlayDrawFunction(const std::function< void(ImGuiContext *)> & func) |
void | clearImGuiOverlayDrawFunctions() |
void | recreateImGuiOverlay() |
virtual void | onAttached() override |
virtual void | onDetached() override |
virtual void | recreateSwapChain() |
void | recreateDepthTexture() |
void | recreateSampleDependentResources() |
void | uploadBufferData(const BufferUploadOptions & options) |
void | uploadTextureData(const TextureUploadOptions & options) |
void | releaseStagingBuffers() |
Protected Attributes inherited from KDGpuExample::ExampleEngineLayer
Public Functions inherited from KDGpuExample::EngineLayer
Name | |
---|---|
~EngineLayer() override | |
const Engine * | engine() const |
Engine * | engine() |
Protected Functions inherited from KDGpuExample::EngineLayer
Name | |
---|---|
virtual void | onAttached() |
virtual void | onDetached() |
Friends inherited from KDGpuExample::EngineLayer
Name | |
---|---|
class | Engine |
Public Functions Documentation¶
function SimpleExampleEngineLayer¶
1 |
|
function ~SimpleExampleEngineLayer¶
1 |
|
Protected Functions Documentation¶
function update¶
1 |
|
Reimplements: KDGpuExample::ExampleEngineLayer::update
function event¶
1 2 3 4 |
|
Updated on 2024-12-15 at 00:01:55 +0000