internal void ToNative(out Native native, long *setLayouts, PushConstantRange *pushConstantRanges) { native.Type = StructureType.PipelineLayoutCreateInfo; native.Next = IntPtr.Zero; native.Flags = 0; native.SetLayoutCount = SetLayouts?.Length ?? 0; native.SetLayouts = setLayouts; native.PushConstantRangeCount = PushConstantRanges?.Length ?? 0; native.PushConstantRanges = pushConstantRanges; }
public PipelineLayoutCreateInfo ( StructureType?sType = StructureType.PipelineLayoutCreateInfo, void *pNext = null, uint?flags = null, uint?setLayoutCount = null, DescriptorSetLayout *pSetLayouts = null, uint?pushConstantRangeCount = null, PushConstantRange *pPushConstantRanges = null ) : this() { if (sType is not null) { SType = sType.Value; } if (pNext is not null) { PNext = pNext; } if (flags is not null) { Flags = flags.Value; } if (setLayoutCount is not null) { SetLayoutCount = setLayoutCount.Value; } if (pSetLayouts is not null) { PSetLayouts = pSetLayouts; } if (pushConstantRangeCount is not null) { PushConstantRangeCount = pushConstantRangeCount.Value; } if (pPushConstantRanges is not null) { PPushConstantRanges = pPushConstantRanges; } }
public PipelineLayoutCreateInfo ( StructureType sType = StructureType.PipelineLayoutCreateInfo, void *pNext = default, uint flags = default, uint setLayoutCount = default, DescriptorSetLayout *pSetLayouts = default, uint pushConstantRangeCount = default, PushConstantRange *pPushConstantRanges = default ) { SType = sType; PNext = pNext; Flags = flags; SetLayoutCount = setLayoutCount; PSetLayouts = pSetLayouts; PushConstantRangeCount = pushConstantRangeCount; PPushConstantRanges = pPushConstantRanges; }