可可西

上一页 1 2 3 4 5 6 7 ··· 44 下一页

2024年12月26日 #

python3启动一个本地http服务器

摘要: 在windows中,使用python版本为Python 3.6.3 编写index.html网页 在当前目录F:\httpTest下,新建index.html,内容如下: <!DOCTYPE html> <head> <meta charset="utf-8"> <title>Http Test</ 阅读全文

posted @ 2024-12-26 19:37 可可西 阅读(466) 评论(0) 推荐(0)

2024年12月25日 #

生成LLVM IR及其CFG图

摘要: math.c代码 int add(int a, int b) { return a+b; } int mul(int a, int b) { return a*b; } void Test() { int r1 = add(1,2); int r2 = mul(3,4); } 编译生成IR中间代码m 阅读全文

posted @ 2024-12-25 22:58 可可西 阅读(431) 评论(0) 推荐(0)

2024年12月22日 #

vscode操作技巧

摘要: 代码着色 glsl、hlsl、fx、ush、usf着色器 安装Shader languages support for VS Code插件 对于ue4的ush、usf文件,需要配置其使用hlsl的着色规则 着色成功后的效果 csv着色 使用Rainbow csv进行csv着色 打开文件时,缺省添加成 阅读全文

posted @ 2024-12-22 11:50 可可西 阅读(132) 评论(0) 推荐(0)

2024年12月4日 #

Win10下安装WSL(Windows Subsystem for Linux)

摘要: 启用WSL(Windows Subsystem for Linux) 管理员权限运行powershell并运行下面的命令 C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Enable-WindowsOptionalFeature - 阅读全文

posted @ 2024-12-04 23:12 可可西 阅读(3721) 评论(0) 推荐(0)

2024年11月20日 #

渲染指令提交到GPU与等待执行完

摘要: CPU执行渲染指令,是不会立即发送给GPU硬件的。它们首先被送到驱动的指令缓冲区,当缓冲区满或执行某个函数,然后才被发送到GPU硬件上去执行。 注:PC上缓冲区满会被发送到GPU,而Mobile下即使缓冲区满也不会发送,除非pass结束或执行执行某个函数 发送到GPU后会立即返回,不会等待GPU执行 阅读全文

posted @ 2024-11-20 00:50 可可西 阅读(239) 评论(0) 推荐(0)

2024年10月22日 #

windows纤程(Fiber)机制

摘要: Windows 10(17763)系统上执行tjInitCompress函数时,加载dll失败,从而导致崩溃 KERNELBASE.dll pc 0x69 RaiseException (:0)[amd64:Windows NT:7BF8014B3D39BE6ADDC83DA4991008EB1] 阅读全文

posted @ 2024-10-22 00:28 可可西 阅读(333) 评论(0) 推荐(0)

2024年10月19日 #

谈谈程序设计的一些原则

摘要: 程序的世界丰富多彩,如同宇宙中天体系统。按照粒度大小、层次结构、复杂度分为:平台(Platform) 、 系统(System) 、软件(Software)、工具(Tool)、模块(Module) 、类(Class) 、函数(Function)和语句(Statement) 然而,不管多么复杂的程序,都 阅读全文

posted @ 2024-10-19 16:06 可可西 阅读(87) 评论(0) 推荐(0)

2024年10月6日 #

使用VS2022 Performance Profiler进行Native内存分析

摘要: 注:勾选Memory Usage进行Native内存抓取 Memory Profiler Settings 不带pdb进行Native内存抓取 点击Start按钮开始进行内存分析 点击“Stop Collection”按钮,来结束Profile。 注:如果报如下错误:Failed to load m 阅读全文

posted @ 2024-10-06 21:52 可可西 阅读(577) 评论(0) 推荐(0)

2024年9月16日 #

UE4获取玩家视角相机的位置和朝向

摘要: 游戏线程(GameThread) 编辑器中(EWorldType::Editor,模拟运行或编辑状态) bool GetObserverView(FVector& Location, FRotator& Rotation) const { // We are in the SIE(Simulate 阅读全文

posted @ 2024-09-16 19:39 可可西 阅读(789) 评论(0) 推荐(0)

2024年9月8日 #

Cooley-Tukey FFT算法的非递归实现

摘要: 一维情况 #include <iostream> #include <complex> #include <cmath> const double PI = 3.14159265358979323846; // 交换位置 void swap(std::complex<double>& a, std: 阅读全文

posted @ 2024-09-08 23:23 可可西 阅读(236) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 ··· 44 下一页

导航