MCPcopy Create free account
hub / github.com/MKXJun/DirectX11-With-Windows-SDK

github.com/MKXJun/DirectX11-With-Windows-SDK @v1.37.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.37.2 ↗ · + Follow
12,238 symbols 23,550 edges 1,162 files 1,609 documented · 13% updated 16mo ago★ 1,675

Browse by type

Functions 9,999 Types & classes 2,239
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

DirectX11 With Windows SDK教程演示项目

现代DX11系列教程:使用Windows SDK(C++)开发Direct3D 11.x

000

博客教程

CSDN目前停更

QQ群交流

QQ群号:727623616

欢迎大家来交流,以及项目有什么问题也可以在这里提出。

获取教程项目源码

点此获取,注意不要选择Source code

下载不了也可以进Q群获取

CMake构建项目

使用cmake-gui.exe填写源码路径和构建路径,然后只需要关注下面两个变量:

004

  • USE_IMGUI:默认开启,关闭后35之前的部分项目使用Direct2D的UI
  • WIN_SYSTEM_SUPPORT:默认关闭,仅Win7用户需要勾选,但建议保持USE_IMGUI开启

然后就可以点Generate生成项目,生成的解决方案位于build文件夹内,或者点Open Project打开

打开教程项目

如果是从DirectX11 With Windows SDK(2022 Win10).sln打开的,现在只包含前35章的项目,且只支持VS2017-2022打开。

从CMake生成的解决方案则包含36章之后的项目。

建议使用Release x64。生成完成后,若要指定运行哪个项目,需要对项目右键-设为启动项。

注意: 1. 目前教程仅支持VS2017(或平台工具集v141)及更高版本! 2. 如果需要使用Direct2D/DWrite,Win7系统需要安装Service Pack 1以及KB2670838补丁,但目前更推荐使用ImGui

项目概况

语言:

  • C++14/17

  • HLSL Shader Model 5.0

目前项目使用了下述代码库或文件: - ocornut/imgui:当前已经为这些项目使用ImGui:第7、10、15、16、17、20、23、30-39章。

作为教程演示项目,这里并不是以实现一个软引擎为目标。建议读者在跟随教程学习的同时要动手实践。

支持/赞赏博主

博客和项目维护不易,如果本系列教程对您有所帮助,希望能够扫码支持一下博主。

使用Direct3D 11.x(Windows SDK)编写的魔方

点此查看

最近更新

2022/5/30 Ver1.37.2

  • assimp的cmake编译从静态库改回动态库
  • 调整项目FXAA

历史更新记录

Core symbols most depended-on inside this repo

Shape

Method 8,018
Function 1,981
Class 1,924
Enum 315

Languages

C++100%

Modules by API surface

ImGui/imgui.cpp510 symbols
ImGui/imgui_internal.h313 symbols
ImGui/imgui_widgets.cpp222 symbols
Common/stb_image.h215 symbols
ImGui/imgui.h190 symbols
ImGui/imgui_draw.cpp146 symbols
ImGui/imstb_truetype.h142 symbols
ImGui/imgui_tables.cpp94 symbols
ImGui/imgui_demo.cpp83 symbols
Common/EffectHelper.cpp74 symbols
Project 31-35/35 Particle System/EffectHelper.cpp67 symbols
Project 31-35/34 Displacement Mapping/EffectHelper.cpp67 symbols

For agents

$ claude mcp add DirectX11-With-Windows-SDK \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page