diff options
| author | j-p <jp_bruyere@hotmail.com> | 2019-04-12 00:03:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-12 00:03:21 +0200 |
| commit | 18f58e83f22a023e34c05292b08037fdeddcbe0e (patch) | |
| tree | 860971ceff1dfc728d259a8de84e82b4a1572fca /vke/src/DescriptorSetLayout.cs | |
| parent | fcdeb16b403a138cc4dcdb96cb175384b80766c6 (diff) | |
new generator, had to be improved (#1)
* try to make it work with new generator
* before features and extentions handling in generator
* new gen wip
* ok with new gen
* newgenerator
Diffstat (limited to 'vke/src/DescriptorSetLayout.cs')
| -rw-r--r-- | vke/src/DescriptorSetLayout.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vke/src/DescriptorSetLayout.cs b/vke/src/DescriptorSetLayout.cs index 42af60a..95ba93a 100644 --- a/vke/src/DescriptorSetLayout.cs +++ b/vke/src/DescriptorSetLayout.cs @@ -25,14 +25,14 @@ // THE SOFTWARE. using System; using System.Collections.Generic; -using Vulkan; -using static Vulkan.VulkanNative; +using VK; +using static VK.Vk; namespace VKE { public sealed class DescriptorSetLayout : Activable { internal VkDescriptorSetLayout handle; - public VkDescriptorSetLayoutCreateFlags Flags { get; private set; } = VkDescriptorSetLayoutCreateFlags.None; + public VkDescriptorSetLayoutCreateFlags Flags { get; private set; } = 0; public List<VkDescriptorSetLayoutBinding> Bindings { get; private set; } = new List<VkDescriptorSetLayoutBinding> (); #if DEBUG && DEBUG_MARKER @@ -45,7 +45,7 @@ namespace VKE { Flags = flags; } public DescriptorSetLayout (Device device, params VkDescriptorSetLayoutBinding[] bindings) - : this (device, VkDescriptorSetLayoutCreateFlags.None, bindings) { + : this (device, 0, bindings) { } public DescriptorSetLayout (Device device, VkDescriptorSetLayoutCreateFlags flags, params VkDescriptorSetLayoutBinding[] bindings) : this (device, flags) { |