Adding Raytracing shader stages

This commit is contained in:
Dynamitos
2024-06-14 22:12:26 +02:00
parent ac135eebd0
commit 86c179e2e7
6 changed files with 103 additions and 22 deletions
+3 -2
View File
@@ -3,7 +3,7 @@
#include "Graphics/Initializer.h"
#include "Graphics/RayTracing.h"
#include <vulkan/vulkan_core.h>
#include "Buffer.h"
namespace Seele {
namespace Vulkan {
@@ -15,7 +15,8 @@ class BottomLevelAS : public Gfx::BottomLevelAS {
private:
PGraphics graphics;
VkAccelerationStructureKHR handle;
Gfx::OShaderBuffer buffer;
OBufferAllocation buffer;
};
DEFINE_REF(BottomLevelAS)
class TopLevelAS : public Gfx::TopLevelAS {