mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
18
brutal.vulkan/Brutal.Vulkan/Manual/Partials/VkRect2D.cs
Normal file
18
brutal.vulkan/Brutal.Vulkan/Manual/Partials/VkRect2D.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue