璀境石

Results 34 issues of 璀境石

目前想到的: 1、通过 hlsl 宏定义,提供常用的宏用于简化寄存器声明等 2、提供 hlsl 的 #include 功能,方便编写复杂的 shader 3、允许开发者编译 shader 的时候传递自定义宏定义,允许将不同的功能模块写进同一个 shader,然后通过不同的宏定义编译出不同的 shader 字节码

enhancement

把资源加载丢到后台线程允许,不阻塞主线程

enhancement
high difficulty

* 有些字体只用到ASCII部分,也分配1024x1024的大纹理缓存可能太浪费了,应该考虑弄一个公共字形缓存 * 新问题:如果用了公共字形缓存,那么当一个字体被卸载掉,那些占用了的空间应该如何回收? * 字形缓存有多张纹理的时候应该合批渲染 * 应该新增 Label 对象?避免每次绘制都重新计算一次布局 * 也许可以不新增对象,而是通过缓存字符串来映射

enhancement

Forks: * [LuaSTG Evo (cross platform)](https://github.com/KaleiAlma/LuaSTG-Evo) File mirrors: * [RyannThi's Google Drive](https://drive.google.com/drive/u/4/folders/1yxWXqTQQC1jhun7NwC5BrWpr8S3LewVQ)

community

suggestion: `json.lua` ```diff - 225 if jit and t[0] ~= nil then + 225 ---@diagnostic disable-next-line: undefined-global + 226 if jit and t[0] ~= nil then ```

**Environment:** * System: Windows 11 10.0.22631.4037 * **User Profile Locale: Simplified Chinese, default to GBK text encoding** * Python: 3.12.4 (managed by MiniConda3) **How to reproduce this bug?** 1. Windows...

Summary: For `const char FOO[] = "foo"`, `FOO` is a C array. But for `const char* BAR = "bar"`, `BAR` is a pointer. `sizeof(BAR)` always equals pointer size. After: ```c++...

# Welcome to Unicode! There is a problem of mixing `char` and `tchar` in this project. So I spent some time migrating it to Unicode.