public DescriptorSetLayoutBindingFlagsCreateInfoEXT ( StructureType?sType = StructureType.DescriptorSetLayoutBindingFlagsCreateInfo, void *pNext = null, uint?bindingCount = null, DescriptorBindingFlags *pBindingFlags = null ) : this() { if (sType is not null) { SType = sType.Value; } if (pNext is not null) { PNext = pNext; } if (bindingCount is not null) { BindingCount = bindingCount.Value; } if (pBindingFlags is not null) { PBindingFlags = pBindingFlags; } }
static DescriptorSetLayoutBindingFlagsCreateInfo CreateFlagsInfo(DescriptorBindingFlags *pBindingFlags, uint count) { return(new DescriptorSetLayoutBindingFlagsCreateInfo() { SType = StructureType.DescriptorSetLayoutBindingFlagsCreateInfo, PBindingFlags = pBindingFlags, BindingCount = count }); }
public DescriptorSetLayoutBindingFlagsCreateInfoEXT ( StructureType sType = StructureType.DescriptorSetLayoutBindingFlagsCreateInfo, void *pNext = default, uint bindingCount = default, DescriptorBindingFlags *pBindingFlags = default ) { SType = sType; PNext = pNext; BindingCount = bindingCount; PBindingFlags = pBindingFlags; }
protected override unsafe DescriptorSetLayout[] CreateDescriptorSetLayouts(VulkanGraphicsDevice gd, Device device, out PipelineLayout layout) { DescriptorSetLayoutBinding *uLayoutBindings = stackalloc DescriptorSetLayoutBinding[Constants.MaxUniformBufferBindings]; DescriptorSetLayoutBinding *sLayoutBindings = stackalloc DescriptorSetLayoutBinding[Constants.MaxStorageBufferBindings]; DescriptorSetLayoutBinding *tLayoutBindings = stackalloc DescriptorSetLayoutBinding[Constants.MaxTextureBindings]; DescriptorSetLayoutBinding *iLayoutBindings = stackalloc DescriptorSetLayoutBinding[Constants.MaxImageBindings]; DescriptorSetLayoutBinding *bTLayoutBindings = stackalloc DescriptorSetLayoutBinding[Constants.MaxTextureBindings]; DescriptorSetLayoutBinding *bILayoutBindings = stackalloc DescriptorSetLayoutBinding[Constants.MaxImageBindings]; DescriptorBindingFlags *pUBindingsFlags = stackalloc DescriptorBindingFlags[Constants.MaxUniformBufferBindings]; DescriptorBindingFlags *pSBindingsFlags = stackalloc DescriptorBindingFlags[Constants.MaxStorageBufferBindings]; DescriptorBindingFlags *pTBindingsFlags = stackalloc DescriptorBindingFlags[Constants.MaxTextureBindings]; DescriptorBindingFlags *pIBindingsFlags = stackalloc DescriptorBindingFlags[Constants.MaxImageBindings]; DescriptorBindingFlags *pBTBindingsFlags = stackalloc DescriptorBindingFlags[Constants.MaxTextureBindings]; DescriptorBindingFlags *pBIBindingsFlags = stackalloc DescriptorBindingFlags[Constants.MaxImageBindings];