public VkClearValue(float depth, uint stencil) { color = default; depthStencil = new VkClearDepthStencilValue(depth, stencil); }
/// <summary> /// Initializes a new instance of the <see cref="VkClearValue"/> structure. /// </summary> /// <param name="depthStencil">Specifies the depth and stencil clear values to use when clearing a depth/stencil image or attachment.</param> public VkClearValue(VkClearDepthStencilValue depthStencil) { color = default; this.depthStencil = depthStencil; }