8000 GitHub - denizzzka/DImGui: Another SDL2 + Vulkan + ImGui renderer in the D Programming Language.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

denizzzka/DImGui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DImGui

Another SDL2 + Vulkan + ImGui renderer in the D Programming Language. Screenshot

Prerequisites

Make sure the following (development) libraries are installed:

Compilation [Linux & Windows]

  • Clone the repository
    • git clone --recursive https://github.com/DannyArends/DImGui.git
    • git submodule update --init --recursive (If already cloned)
  • Compile [Linux]
    • Make sure the SDL2, SDL2_image, SDL2_mixer, SDL2_ttf development libraries are installed
    • Execute dub to compile the executable
      • dub
  • Compile [MS windows (x64)]
    • Install the Visual Studio 2019 Build Tools with MSVC v142 and the Windows 10 SDK
    • Install the LunarG Vulkan SDK and make sure to install the SDL2 Component
    • Check the paths in the dub.json file, and update the Vulkan version (1.4.309.0) to the version installed
    • Execute dub to compile the executable
      • dub

Structure

The following folders are interesting, if you're interested in how the repository is structured:

  • src/ which stores the D source code
  • src/engine main folder for the engine objects
  • src/math math functions for vectors, matrices, particles, and the L-system
  • src/objects All geometric (renderable) objects are in here
  • assets/ All assets of the engine (font, objects, shaders, and textures)
  • deps/ CImGui source code as well as Windows 64bit runtime SDL2 DLLs for image,mixer and ttf

Some noteworthy files:

  • dub.json contains the D language dependancies, and build instructions
  • src/main.d contains the main entry function, and SDL event loop
  • src/includes.c the file holding the importC instructions

Contributing

Want to contribute? Great! Contribute to this repo by starring or forking on Github, and feel free to start an issue first to discuss idea's before sending a pull request. You're also welcome to post comments on commits.

Or be a maintainer, and adopt (the documentation of) a function.

License

Written by Danny Arends and is released under the GNU GENERAL PUBLIC LICENSE Version 3 (GPLv3). See LICENSE.txt.

About

Another SDL2 + Vulkan + ImGui renderer in the D Programming Language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • D 96.7%
  • GLSL 1.8%
  • Other 1.5%
0