public DescriptorSetLayoutBinding ( uint?binding = null, DescriptorType?descriptorType = null, uint?descriptorCount = null, ShaderStageFlags?stageFlags = null, Sampler *pImmutableSamplers = null ) : this() { if (binding is not null) { Binding = binding.Value; } if (descriptorType is not null) { DescriptorType = descriptorType.Value; } if (descriptorCount is not null) { DescriptorCount = descriptorCount.Value; } if (stageFlags is not null) { StageFlags = stageFlags.Value; } if (pImmutableSamplers is not null) { PImmutableSamplers = pImmutableSamplers; } }
public DescriptorSetLayoutBinding ( uint binding = default, DescriptorType descriptorType = default, uint descriptorCount = default, ShaderStageFlags stageFlags = default, Sampler *pImmutableSamplers = default ) { Binding = binding; DescriptorType = descriptorType; DescriptorCount = descriptorCount; StageFlags = stageFlags; PImmutableSamplers = pImmutableSamplers; }