Example #1
0
 public VkClearValue(float depth, uint stencil)
 {
     color        = default;
     depthStencil = new VkClearDepthStencilValue(depth, stencil);
 }
Example #2
0
 /// <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;
 }