Crafter.Graphics/project.json

105 lines
4.4 KiB
JSON
Raw Normal View History

2025-04-16 00:43:33 +02:00
{
"name": "crafter-graphics",
"configurations": [
{
"name": "base",
2025-11-16 15:32:11 +01:00
"implementations": ["implementations/Crafter.Graphics-Window", "implementations/Crafter.Graphics-UiElement", "implementations/Crafter.Graphics-Camera"],
"interfaces": ["interfaces/Crafter.Graphics-Window", "interfaces/Crafter.Graphics", "interfaces/Crafter.Graphics-UiElement", "interfaces/Crafter.Graphics-Types", "interfaces/Crafter.Graphics-Camera"],
"type": "library"
},
{
"name": "wayland",
"implementations": ["implementations/Crafter.Graphics-WindowWayland", "implementations/Crafter.Graphics-WindowWaylandWayland"],
"interfaces": ["interfaces/Crafter.Graphics-WindowWayland", "interfaces/Crafter.Graphics-WindowWaylandWayland"],
"libs": ["wayland-client", "xkbcommon"],
2025-11-16 18:52:52 +01:00
"c_files": ["lib/xdg-shell-protocol", "lib/wayland-xdg-decoration-unstable-v1-client-protocol"],
2025-11-16 15:32:11 +01:00
"extends": ["base"]
},
{
"name": "vulkan",
"implementations": ["implementations/Crafter.Graphics-VulkanDevice", "implementations/Crafter.Graphics-WindowWaylandVulkan"],
"interfaces": ["interfaces/Crafter.Graphics-WindowWayland", "interfaces/Crafter.Graphics-WindowWaylandWayland", "interfaces/Crafter.Graphics-VulkanDevice", "interfaces/Crafter.Graphics-VulkanPipeline", "interfaces/Crafter.Graphics-VulkanShader", "interfaces/Crafter.Graphics-WindowWaylandVulkan", "interfaces/Crafter.Graphics-VulkanBuffer", "interfaces/Crafter.Graphics-Mesh", "interfaces/Crafter.Graphics-MeshShader", "interfaces/Crafter.Graphics-HeightmapShader","interfaces/Crafter.Graphics-VoxelShader", "interfaces/Crafter.Graphics-VulkanTexture", "interfaces/Crafter.Graphics-TextureShader", "interfaces/Crafter.Graphics-DescriptorSet"],
"libs": ["vulkan"],
"shaders": [
2025-04-19 15:46:26 +02:00
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/MeshShaderXYZ.glsl",
2025-04-19 15:46:26 +02:00
"type":13,
"entrypoint":"main"
},
2025-05-03 06:51:33 +02:00
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/MeshShaderXYZUV.glsl",
2025-05-03 06:51:33 +02:00
"type":13,
"entrypoint":"main"
},
2025-05-25 23:04:56 +02:00
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/MeshShaderXYZRGBA.glsl",
2025-05-25 23:04:56 +02:00
"type":13,
"entrypoint":"main"
},
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/MeshShaderHeightmapRGBA.glsl",
2025-05-25 23:04:56 +02:00
"type":13,
"entrypoint":"main"
},
2025-06-10 22:47:47 +02:00
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/MeshShaderMixedVoxelGrid.glsl",
2025-06-10 22:47:47 +02:00
"type":13,
"entrypoint":"main"
},
2025-04-19 15:46:26 +02:00
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/FragmentShaderSolidWhite.glsl",
2025-04-19 15:46:26 +02:00
"type":4,
2025-05-03 06:51:33 +02:00
"entrypoint":"main"
},
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/FragmentShaderTexture.glsl",
2025-05-03 06:51:33 +02:00
"type":4,
2025-04-19 15:46:26 +02:00
"entrypoint":"main"
2025-05-25 23:04:56 +02:00
},
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/FragmentShaderVertexColor.glsl",
2025-05-25 23:04:56 +02:00
"type":4,
"entrypoint":"main"
2025-04-19 15:46:26 +02:00
}
2025-11-16 15:32:11 +01:00
],
"extends": ["wayland"]
2025-04-16 00:43:33 +02:00
},
{
2025-11-16 15:32:11 +01:00
"name": "deps",
2025-05-04 05:15:31 +02:00
"dependencies": [
{
2025-05-06 12:39:11 +02:00
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Event.git",
2025-11-16 15:32:11 +01:00
"configuration":"lib"
2025-05-04 05:15:31 +02:00
},
{
2025-05-06 12:39:11 +02:00
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Math.git",
2025-11-16 15:32:11 +01:00
"configuration":"lib"
2025-05-04 05:15:31 +02:00
}
]
2025-04-16 00:43:33 +02:00
},
{
2025-11-16 15:32:11 +01:00
"name": "deps-debug",
"debug": true,
2025-04-16 00:43:33 +02:00
"dependencies": [
{
2025-05-07 19:21:51 +02:00
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Event.git",
2025-11-16 15:32:11 +01:00
"configuration":"lib-debug"
2025-04-27 22:16:56 +02:00
},
2025-05-04 05:15:31 +02:00
{
2025-05-07 19:21:51 +02:00
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Math.git",
2025-11-16 15:32:11 +01:00
"configuration":"lib-debug"
2025-04-16 00:43:33 +02:00
}
]
},
{
2025-11-16 15:32:11 +01:00
"name": "lib-wayland",
2025-11-16 18:52:52 +01:00
"extends": ["wayland", "deps"],
"type": "library"
2025-11-16 15:32:11 +01:00
},
{
"name": "lib-wayland-debug",
2025-11-16 18:52:52 +01:00
"type": "library",
2025-11-16 15:32:11 +01:00
"extends": ["wayland", "deps-debug"]
2025-04-16 00:43:33 +02:00
}
]
}