diff semicongine/panel.nim @ 998:7e89c8fe57a8

did: add name for material types and fix shader-materialtype-compatability check
author sam <sam@basx.dev>
date Sat, 13 Apr 2024 11:09:02 +0700
parents f9d25bc331b3
children b5be4ea07c3c
line wrap: on
line diff
--- a/semicongine/panel.nim	Sat Apr 13 00:22:45 2024 +0700
+++ b/semicongine/panel.nim	Sat Apr 13 11:09:02 2024 +0700
@@ -19,6 +19,7 @@
     attributes: {"panelTexture": TextureType, "color": Vec4F32}.toTable,
   )
   PANEL_SHADER* = createShaderConfiguration(
+    name = "panel shader",
     inputs = [
       attr[Mat4](TRANSFORM_ATTRIB, memoryPerformanceHint = PreferFastWrite, perInstance = true),
       attr[Vec3f](POSITION_ATTRIB, memoryPerformanceHint = PreferFastWrite),