Shader: Add export attribute for structs ([export])
This commit is contained in:
@@ -148,6 +148,7 @@ namespace Nz::ShaderAst
|
||||
{
|
||||
auto clone = std::make_unique<DeclareStructStatement>();
|
||||
clone->structIndex = node.structIndex;
|
||||
clone->isExported = Clone(node.isExported);
|
||||
|
||||
clone->description.layout = Clone(node.description.layout);
|
||||
clone->description.name = node.description.name;
|
||||
|
||||
Reference in New Issue
Block a user