mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
9 lines
331 B
C#
9 lines
331 B
C#
namespace Brutal.VulkanApi;
|
|
|
|
public partial struct VkClearValue
|
|
{
|
|
public static implicit operator VkClearValue(VkClearColorValue color) => new VkClearValue { Color = color };
|
|
|
|
public static implicit operator VkClearValue(VkClearDepthStencilValue depthStencil) =>
|
|
new VkClearValue { DepthStencil = depthStencil };
|
|
}
|