ComputeParticles¶
#include <compute_particles.h>
Inherits from KDGpuExample::SimpleExampleEngineLayer, KDGpuExample::ExampleEngineLayer, KDGpuExample::EngineLayer, KDFoundation::Object
Protected Functions¶
Name | |
---|---|
virtual void | initializeScene() override |
virtual void | cleanupScene() override |
virtual void | updateScene() override |
virtual void | render() override |
virtual void | resize() override |
void | renderSingleCommandBuffer() |
void | renderMultipleCommandBuffers() |
Additional inherited members¶
Public Functions inherited from KDGpuExample::SimpleExampleEngineLayer
Name | |
---|---|
SimpleExampleEngineLayer() =default | |
~SimpleExampleEngineLayer() override |
Protected Functions inherited from KDGpuExample::SimpleExampleEngineLayer
Name | |
---|---|
virtual void | update() override |
void | event(KDFoundation::EventReceiver * target, KDFoundation::Event * ev) override |
Public Functions inherited from KDGpuExample::ExampleEngineLayer
Name | |
---|---|
ExampleEngineLayer() | |
~ExampleEngineLayer() override | |
KDGpuKDGui::View * | window() |
Protected Functions inherited from KDGpuExample::ExampleEngineLayer
Name | |
---|---|
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 | update() override |
void | event(KDFoundation::EventReceiver * target, KDFoundation::Event * ev) 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() |
virtual void | update() |
Friends inherited from KDGpuExample::EngineLayer
Name | |
---|---|
class | Engine |
Protected Functions Documentation¶
function initializeScene¶
1 |
|
Reimplements: KDGpuExample::ExampleEngineLayer::initializeScene
[1]
[1]
[2]
[2]
[5]
[5]
[6]
[6]
[7]
[7]
[8]
[8]
function cleanupScene¶
1 |
|
Reimplements: KDGpuExample::ExampleEngineLayer::cleanupScene
function updateScene¶
1 |
|
Reimplements: KDGpuExample::ExampleEngineLayer::updateScene
function render¶
1 |
|
Reimplements: KDGpuExample::ExampleEngineLayer::render
function resize¶
1 |
|
Reimplements: KDGpuExample::ExampleEngineLayer::resize
function renderSingleCommandBuffer¶
1 |
|
[9]
[9]
function renderMultipleCommandBuffers¶
1 |
|
[10]
[10]
Updated on 2024-12-22 at 00:01:23 +0000