mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
18 lines
356 B
C#
18 lines
356 B
C#
namespace Brutal.VulkanApi;
|
|
|
|
public partial struct VkRect2D
|
|
{
|
|
public VkRect2D(VkExtent2D extent)
|
|
: this()
|
|
{
|
|
Offset = new VkOffset2D(0, 0);
|
|
Extent = extent;
|
|
}
|
|
|
|
public VkRect2D(int width, int height)
|
|
: this()
|
|
{
|
|
Offset = new VkOffset2D(0, 0);
|
|
Extent = new VkExtent2D(width, height);
|
|
}
|
|
}
|