32 lines
693 B
C++
32 lines
693 B
C++
#pragma once
|
|||
|
|
#include "Graphics/Initializer.h"
|
||
|
|
#include "Graphics.h"
|
||
|
|
#include "Graphics/RayTracing.h"
|
||
|
|
#include <vulkan/vulkan_core.h>
|
||
|
|
|
||
|
|
namespace Seele
|
||
|
|
{
|
||
|
|
namespace Vulkan
|
||
|
|
{
|
||
|
|
class BottomLevelAS : public Gfx::BottomLevelAS
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
BottomLevelAS(PGraphics graphics, const Gfx::BottomLevelASCreateInfo& createInfo);
|
||
|
|
~BottomLevelAS();
|
||
|
|
private:
|
||
|
|
PGraphics graphics;
|
||
|
|
VkAccelerationStructureKHR handle;
|
||
|
|
};
|
||
|
|
DEFINE_REF(BottomLevelAS)
|
||
|
|
class TopLevelAS : public Gfx::TopLevelAS
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
TopLevelAS(PGraphics graphics, const Gfx::TopLevelASCreateInfo& createInfo);
|
||
|
|
~TopLevelAS();
|
||
|
|
private:
|
||
|
|
PGraphics graphics;
|
||
|
|
VkAccelerationStructureKHR handle;
|
||
|
|
};
|
||
|
|
DEFINE_REF(TopLevelAS)
|
||
|
|
}
|
||
|
|
}
|