ULRE/inc/hgl/shadergen/ShaderCreateInfoGeometry.h

21 lines
518 B
C
Raw Normal View History

2023-03-17 10:08:41 +08:00
#pragma once
#include<hgl/shadergen/ShaderCreateInfo.h>
2023-03-21 18:05:48 +08:00
namespace hgl{namespace graph{
2023-03-17 10:08:41 +08:00
class ShaderCreateInfoGeometry:public ShaderCreateInfo
{
AnsiString input_prim;
AnsiString output_prim;
uint32_t max_vertices;
2023-03-17 10:08:41 +08:00
public:
2023-03-17 10:14:07 +08:00
ShaderCreateInfoGeometry(MaterialDescriptorInfo *m):ShaderCreateInfo(VK_SHADER_STAGE_GEOMETRY_BIT,m){}
2023-03-17 10:08:41 +08:00
~ShaderCreateInfoGeometry()=default;
bool SetGeom(const Prim &ip,const Prim &op,const uint32_t mv);
2023-09-21 22:11:20 +08:00
bool ProcLayout() override;
2023-03-17 10:08:41 +08:00
};
2023-03-21 18:05:48 +08:00
}}//namespace hgl::graph