2023-04-20 21:49:48 +08:00
|
|
|
|
#ifndef HGL_GRAPH_MTL_SHADER_BUFFER_INCLUDE
|
|
|
|
|
#define HGL_GRAPH_MTL_SHADER_BUFFER_INCLUDE
|
|
|
|
|
|
|
|
|
|
#include<hgl/type/DataType.h>
|
|
|
|
|
|
|
|
|
|
namespace hgl
|
|
|
|
|
{
|
|
|
|
|
namespace graph
|
|
|
|
|
{
|
|
|
|
|
struct ShaderBufferSource
|
|
|
|
|
{
|
|
|
|
|
const char *struct_name;
|
2023-04-28 11:10:50 +08:00
|
|
|
|
const char *name;
|
2023-04-20 21:49:48 +08:00
|
|
|
|
const char *codes;
|
|
|
|
|
};
|
|
|
|
|
}//namespace graph
|
|
|
|
|
}//namespace hgl
|
|
|
|
|
#endif//HGL_GRAPH_MTL_SHADER_BUFFER_INCLUDE
|