- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Setup SDL 3 GPU with CMake and vcpkg in C++ with SDL main callbacks
sdl3-ttf, sdl3-image, glm and sdl shadercross are also included!
code:
https://github.com/CodesOtakuYT/codotaku_sdl
chapters:
00:00 Create project
00:40 Setup vcpkg as a submodule and CMakePresets.json
06:20 Add sdl3, sdl3-image and sdl3-ttf using vcpkg
09:20 Add sdl3, sdl3-image and sdl3-ttf into CMake
11:20 Setup SDL main callbacks with a C++ app class
25:00 Initializing SDL and custom log category
29:05 Create SDL window using unique_ptr with a custom deleter
31:40 Handling events
39:40 Create SDL GPU device using unique_ptr with a custom deleter
45:00 Printing SDL GPU drivers supported
47:10 Printing selected SDL GPU driver
48:30 Setup preferred GPU drivers list selection with fallbacks
55:40 Setting app metadata using SDL_SetAppMetadata
57:50 Switching CLion toolchain using CMakePresets.json
58:45 Adding clang-cl in windows with C++ modules to CLion
01:02:50 Claim the window using the GPU device (creating swapchain)
01:03:40 Acquiring command buffer and swapchain texture
01:05:40 Change swapchain parameters (srgb, hdr, vsync, etc...)
01:07:20 Change swapchain present mode to mailbox if supported with fallback to vsync
01:10:35 Submit command buffer
01:11:40 Clearing window using a render pass
01:20:45 A red window! Congrats you're an AAA graphics developer now
01:21:10 Download SDL shader cross to cross compile shaders to all SDL 3 GPU backends
01:22:50 Add glm using vcpkg
01:24:55 Add shadercross to system path and how to cross compile shaders
Видео Setup SDL 3 GPU with CMake and vcpkg in C++ with SDL main callbacks канала Codotaku
code:
https://github.com/CodesOtakuYT/codotaku_sdl
chapters:
00:00 Create project
00:40 Setup vcpkg as a submodule and CMakePresets.json
06:20 Add sdl3, sdl3-image and sdl3-ttf using vcpkg
09:20 Add sdl3, sdl3-image and sdl3-ttf into CMake
11:20 Setup SDL main callbacks with a C++ app class
25:00 Initializing SDL and custom log category
29:05 Create SDL window using unique_ptr with a custom deleter
31:40 Handling events
39:40 Create SDL GPU device using unique_ptr with a custom deleter
45:00 Printing SDL GPU drivers supported
47:10 Printing selected SDL GPU driver
48:30 Setup preferred GPU drivers list selection with fallbacks
55:40 Setting app metadata using SDL_SetAppMetadata
57:50 Switching CLion toolchain using CMakePresets.json
58:45 Adding clang-cl in windows with C++ modules to CLion
01:02:50 Claim the window using the GPU device (creating swapchain)
01:03:40 Acquiring command buffer and swapchain texture
01:05:40 Change swapchain parameters (srgb, hdr, vsync, etc...)
01:07:20 Change swapchain present mode to mailbox if supported with fallback to vsync
01:10:35 Submit command buffer
01:11:40 Clearing window using a render pass
01:20:45 A red window! Congrats you're an AAA graphics developer now
01:21:10 Download SDL shader cross to cross compile shaders to all SDL 3 GPU backends
01:22:50 Add glm using vcpkg
01:24:55 Add shadercross to system path and how to cross compile shaders
Видео Setup SDL 3 GPU with CMake and vcpkg in C++ with SDL main callbacks канала Codotaku
sdl3 sdl sdl 3 sdl 3 gpu sdl gpu sdl renderer sdl rendering sdl 3 rendering how to setup sdl how to setup sdl 3 how to setup sdl 3 gpu how to setup sdl 3 using cmake how to setup sdl 3 image how to setup sdl 3 ttf how to setup glm using cmake how to setup sdl using vcpkg how to setup sdl using cmake and vcpkg vcpkg cmake modern cmake sdl 3 cmake sdl 3 vcpkg sdl 3 shadercross clion sdl 3 ttf sdl 3 image cmakepresets sdl template cmake template
Комментарии отсутствуют
Информация о видео
22 июля 2025 г. 9:23:52
01:26:54
Другие видео канала


![Vulkan and Win32 in C23 from scratch for noobs like me [LIVE]](https://i.ytimg.com/vi/yUnymWoHzvw/default.jpg)









![Trying wgpu with Rust lang fully cross platform [LIVE] 🚀](https://i.ytimg.com/vi/hiG_xs7r3i8/default.jpg)







