PeriDyno 1.0.0
Loading...
Searching...
No Matches
VkVisualModule.h
Go to the documentation of this file.
1
16#pragma once
17#include "Module/VisualModule.h"
18
19namespace dyno
20{
22 {
23 public:
25 virtual ~VkVisualModule();
26
27 std::string getModuleType() override { return "VkVisualModule"; }
28
29 virtual void updateGraphicsContext() {};
30
31 virtual void buildCommandBuffers(VkCommandBuffer drawCmdBuffer) = 0;
32 virtual void prepare(VkRenderPass renderPass) = 0;
33 virtual void viewChanged(const glm::mat4& perspective, const glm::mat4& view) = 0;
34
35 protected:
36 void updateImpl() override;
37 };
38}
39
std::string getModuleType() override
virtual void buildCommandBuffers(VkCommandBuffer drawCmdBuffer)=0
virtual void prepare(VkRenderPass renderPass)=0
virtual void updateGraphicsContext()
virtual void viewChanged(const glm::mat4 &perspective, const glm::mat4 &view)=0
void updateImpl() override
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25