update
This commit is contained in:
parent
15f1f77344
commit
75c9ae5087
5 changed files with 28 additions and 24 deletions
|
|
@ -43,7 +43,7 @@ export namespace Crafter {
|
|||
static std::vector<RenderingElement3DVulkan> elements;
|
||||
inline static VulkanBuffer<char, false, true, false> scratchBuffer;
|
||||
inline static std::vector<TlasWithBuffer> tlases;
|
||||
RenderingElement3DVulkan(Mesh& mesh);
|
||||
RenderingElement3DVulkan(Mesh& mesh, std::uint32_t customIndex, std::uint32_t mask, std::uint32_t shaderOffset);
|
||||
static void BuildTLAS(VkCommandBuffer cmd, std::uint32_t index);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue