diff semicongine/engine.nim @ 872:1ee397815b0b

did: image & font refactoring, add texture-atlas-packing
author Sam <sam@basx.dev>
date Sat, 20 Jan 2024 20:17:03 +0700
parents e5d7e3f6826e
children 2aa26c23cc60
line wrap: on
line diff
--- a/semicongine/engine.nim	Mon Jan 08 19:18:01 2024 +0700
+++ b/semicongine/engine.nim	Sat Jan 20 20:17:03 2024 +0700
@@ -213,3 +213,6 @@
   if enable != engine.fullscreen:
     engine.fullscreen = enable
     engine.window.fullscreen(engine.fullscreen)
+
+func limits*(engine: Engine): VkPhysicalDeviceLimits =
+  engine.gpuDevice().physicalDevice.properties.limits