suppported newly codes about Hash

This commit is contained in:
hyzboy 2024-12-12 13:30:51 +08:00
parent 6c160f5c53
commit c45047c482

View File

@ -1,12 +1,15 @@
#pragma once #pragma once
#include<hgl/graph/module/GraphModule.h> #include<hgl/graph/module/GraphModule.h>
#include<hgl/type/Map.h> #include<hgl/type/Map.h>
#include<hgl/util/hash/Hash.h> #include<hgl/util/hash/Hash.h>
VK_NAMESPACE_BEGIN VK_NAMESPACE_BEGIN
using RenderPassHASHCode=util::HashCodeXXH3_128; using RenderPassHASHCode=util::HashCode<128/8>;
#define CreateRenderPassHash util::CreateXXH3_128Hash inline util::Hash *CreateRenderPassHash()
{
return util::CreateHash(util::HASH::xxH3_128);
}
class RenderPassManager:public GraphModule class RenderPassManager:public GraphModule
{ {