Commit Graph

20 Commits

Author SHA1 Message Date
Thraix 9a3b3aa13c Rework tracing system and enum creators
- Rework tracing system, now using "{}" for formatting instead of the
  standard %s,%d,%f formatting that C++ uses.
- Rework enums creators to not take in namespace
- Fix single use CommandBuffers sometimes failing due to indexing them
  with the current frame in flight
- Add DropEvent to Window
2026-05-03 12:40:47 +02:00
Thraix e5866b2dcb Format all files based on clang-format file 2026-01-28 23:04:31 +01:00
Thraix 71e02f3015 Fix multiple creation of runtime framebuffers
- Framebuffer names are now generated based on Uuids, as such we can
  create multiple runtime Framebuffers
- Framebuffers now uses ints instead of uint32_t, to avoid issues where
  we do "-framebuffer.GetWidth()", which will return an odd uint32_t
  value
- Add some additional AssetRef constructors
2025-08-19 20:14:04 +02:00
Tim Håkansson 4d2dfce31c Add Linux support
- Add linux build system using MakeGen
- Fix a swapchain validation error, likelydue to my linux system using a
  different vulkan version
- Make DescriptorPool take in amount of descriptors it needs, instead of
  allocating a mass amount for every pool, causing loads of RAM/VRAM usage
2025-08-09 21:42:15 +02:00
Thraix ecc11f07db Improve vulkan resource freeing
and some minor improvements to the Renderer, now taking in an
AssetRef<Pipeline> as parameter.
2024-10-11 20:06:22 +02:00
Thraix 1ffcc7fc1a Minor improvements to Pipeline and Uniformbuffer 2024-10-01 19:53:19 +02:00
Thraix 9133bce7fc Refactor asset handling 2024-10-01 19:48:21 +02:00
Thraix 3d82b12cbe Cleanup Scene file
- Introduce new class ComponentHandler which handles all the
  Serializing/Deserializing/Editor Gui of Components
- Currently only Deserializing and Editor Gui is implemented for
  existing components
2023-07-18 14:03:20 +02:00
Thraix 042d1b6c70 Fix gamma rendering issues
- Remove gamma correction from the Vulkan renderer
- Add SamplerCreator, used to specify Min/Mag filter
- Add character texture to example project
- Add AnimationSystem, DebugSystem and UiRenderSystem to example project
2023-06-19 12:37:11 +02:00
Thraix 0cd35928a7 Fix acronym naming standard
- Now follow standard that acronyms should only capitalize the first
  letter
2023-05-22 12:12:51 +02:00
Thraix ad69293faa Add printable Enum 2023-05-01 18:23:22 +02:00
Thraix 1731bb1dd5 Add additional Asset types
- Add Framebuffer Asset
- Add Pipeline Asset
- Add RenderTexture Asset
2023-04-22 21:00:34 +02:00
Thraix 0246e89039 Refactor tracing 2023-04-13 22:03:06 +02:00
Thraix 431ad9c573 Make Vulkan class a global instance 2023-04-04 21:14:01 +02:00
Thraix 9faec15fd6 Refactor UniformBuffers and DescriptorSets
- Refactor UniformBuffers to keep track of the uniforms it contains
- Refactor DescriptorSets to initialize UniformsBuffers and keep track
  of all its bindings
- DescriptorSets can now be created from the Pipeline
- Add custom DescriptorSets to Renderer
2023-03-24 22:27:03 +01:00
Thraix 6e463b3560 Cleanup Renderer 2023-03-08 23:03:30 +01:00
Thraix 796de92a56 Add 2D Batch renderer 2023-03-08 12:05:57 +01:00
Thraix c975ed2674 Add Device and Window abstraction 2023-03-04 23:02:42 +01:00
Thraix 1e7d08250e Add mesh class
- Fix compile errors due to not adding files to git
2023-02-07 22:22:53 +01:00
Thraix 827572eada Add file structure to code
- Rename project to CopiumEngine
2023-02-07 21:43:47 +01:00