Skip to content

Lightnet/sdl3_vulkan_module_c_cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sdl3_vulkan_module_c_cpp

Licenses: MIT

Required:

  • CMake
  • VS2022 c/c++

Information:

Simple triangle test, render text "hello" and cimgui for graphic user interface.

Using the c as base and c++ wrapper for c to handle and help c build api with minimal.

Goal:

To create module design for 3D world build test. To build the module for SDL3 and Vulkan module as well some libraries.

Image:

Screenshot Test

Project:

fonts
-Kenney Mini.ttf
include
- vsdl_cleanup.h
- vsdl_init.h
- vsdl_mesh.h
- vsdl_pipeline.h
- vsdl_renderer.h
- vsdl_text.h
- vsdl_types.h
- vsdl_utils.h
shaders
- shader2d.frag
- shader2d.vert
- text.frag
- text.vert
src
- main.c
- vma_impl.cpp
- vsdl_cleanup.c
- vsdl_init.c
- vsdl_mesh.c
- vsdl_pipeline.c
- vsdl_renderer.c
- vsdl_text.c
- vsdl_utils.c
CMakeLists.txt

Features:

  • module design
  • cimgui
  • triangle
  • render text

Need to add some features.

Module design:

To keep thing simple for add or remove module to debug or config correctly to develop application.

Libraries using c++:

  • VulkanMemoryAllocator

Using the VulkanMemoryAllocator. https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator

Reason a lot of boilerplate code.

Libraries:

  • SDL (added)
  • volk (remove)
  • VulkanHeaders (added)
  • VulkanMemoryAllocator (added)
  • mimalloc (not added)
  • freetype (added)
  • cglm (not added)
  • assimp (not added)

github:

Credits:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published