From d51dacaaaa082b3257599ea82237e803479dc4fe Mon Sep 17 00:00:00 2001 From: BlueRose <378100977@qq.com> Date: Thu, 30 Oct 2025 22:31:39 +0800 Subject: [PATCH] all --- .../DirectX12学习笔记(2)——Direct3D初始化.md | 14 +++++++++++++- 07-Other/生活/智能家居/扫地机器人.md | 9 +++++---- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/04-ComputerGraphics/Directx12/DirectX12学习笔记(2)——Direct3D初始化.md b/04-ComputerGraphics/Directx12/DirectX12学习笔记(2)——Direct3D初始化.md index bdf4213..73ceb53 100644 --- a/04-ComputerGraphics/Directx12/DirectX12学习笔记(2)——Direct3D初始化.md +++ b/04-ComputerGraphics/Directx12/DirectX12学习笔记(2)——Direct3D初始化.md @@ -63,4 +63,16 @@ queueDesc.Flags = D3D12_COMMAND_QUEUE_FLAG_NONE; ThrowIfFailed(md3Device->CreateCommandQueue(&queueDesc,IID_PPV_ARGS(&mCommandQueue))); ``` -IID_PPV_ARGS \ No newline at end of file +IID_PPV_ARGS:获得Com接口的GUID。 + +```c++ +void ID3D12CommandQueue::ExecuteCommandLists( +//命令数量 +UINT NumCommandLists, +//待执行命令的数组,指向第一个命令的指针 +ID3D12CommandList *const *ppCommandLists) +``` +添加完命令后并不会立即执行ExecuteCommandLists()后才算将命令加入命令队列。加入操作执行完之后需要调用ExecuteCommandLists::Close()来结束命令记录。 + +ID3D12CommandAllocator +ID3D12Device::CreateCommandAllocator() \ No newline at end of file diff --git a/07-Other/生活/智能家居/扫地机器人.md b/07-Other/生活/智能家居/扫地机器人.md index d159292..9240078 100644 --- a/07-Other/生活/智能家居/扫地机器人.md +++ b/07-Other/生活/智能家居/扫地机器人.md @@ -6,16 +6,17 @@ 1. 进入容器的CMD 2. cd /usr/local/lib/python3.13/site-packages/deebot_client/hardware/deebot -3. ln -svfT lr4qcs.py 3sp2in.py +3. ln -svfT lr4qcs.py 3sp2in.py(无法控制) 删除 rm -rf 3sp2in.py - n0vyif:DEEBOT X8 PRO OMNI - lr4qcs:X5 Pro Omini - 3sp2in:DEEBOT X5 PRO 我的机器 -## 删除软链接 -ln -svfT lr4qcs.py n0vyif.py -rm 3sp2in.py + +其他: +- [ ] ln -svfT n0vyif.py 3sp2in.py + ## 抓包 - https://mitmproxy.org/