2025-03-04 22:41:07 +08:00
|
|
|
|
#pragma once
|
|
|
|
|
|
2025-06-09 22:52:10 +08:00
|
|
|
|
#include<hgl/graph/VKDescriptorSetType.h>
|
|
|
|
|
|
2025-03-04 22:41:07 +08:00
|
|
|
|
namespace hgl::graph
|
|
|
|
|
{
|
2025-06-09 22:52:10 +08:00
|
|
|
|
struct ShaderBufferDesc
|
2025-03-04 22:41:07 +08:00
|
|
|
|
{
|
2025-06-09 22:52:10 +08:00
|
|
|
|
const DescriptorSetType set_type;
|
|
|
|
|
|
2025-03-04 22:41:07 +08:00
|
|
|
|
const char *name;
|
2025-06-09 22:52:10 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct ShaderBufferSource:public ShaderBufferDesc
|
|
|
|
|
{
|
|
|
|
|
const char *struct_name;
|
2025-03-04 22:41:07 +08:00
|
|
|
|
const char *codes;
|
|
|
|
|
};
|
|
|
|
|
}//namespace hgl::graph
|