// Copyright (c) 2021 Jean-Philippe Bruyère // // This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) using System; namespace Vulkan { /// /// tel the rewriter to automatically set the structure type /// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false)] public class StructureTypeAttribute : Attribute { int structureType; public StructureTypeAttribute (int value) : base() { structureType = value; } public int StructureType => structureType; } }