Skip to content

Commit 81dcc57

Browse files
committed
chore: update README
1 parent 2a88cd2 commit 81dcc57

File tree

19 files changed

+103
-4
lines changed

19 files changed

+103
-4
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,29 @@ yarn bootstrap
3232
- [使用命令模式实现撤销重做](./撤销重做模式代码/story_before/)
3333
- [使用撤销重做模式来改进](./撤销重做模式代码/story_improve/)
3434
- [抽象代码](./撤销重做模式代码/redoundo_pattern_role_abstract/)
35-
- 多线程模式代码源码
35+
- 多线程模式源码
3636
- [单线程](./多线程模式代码/story_before/)
3737
- [使用多线程模式来改进](./多线程模式代码/story_improve/)
3838
- [抽象代码](./多线程模式抽象代码/)
39+
- 管道模式源码
40+
- [在一个模块中实现两个运行环境的逻辑](./管道模式代码/story_before/)
41+
- [拆分模块](./管道模式代码/story_after/)
42+
- [使用管道模式来改进](./管道模式代码/story_improve/)
43+
- [抽象代码](./管道模式抽象代码/)
44+
- 积木模式源码
45+
- [一个开发者开发引擎](./积木模式代码_ts/story_before/)
46+
- [加入更多的开发者一起开发引擎](./积木模式代码_ts/story_after/)
47+
- [使用积木模式来改进](./积木模式代码_ts/story_improve/)
48+
- [抽象代码](./积木模式抽象代码/)
49+
- 拼接模式源码
50+
- [使用预定义宏拼接GLSL](./拼接模式代码/story_before/)
51+
- [使用拼接模式来改进](./拼接模式代码/story_improve/)
52+
- [抽象代码](./拼接模式抽象代码/)
53+
- 依赖隔离模式源码
54+
- [编辑器使用引擎创建场景](./依赖隔离模式代码/story_before/)
55+
- [编辑器替换引擎](./依赖隔离模式代码/story_after/)
56+
- [使用依赖隔离模式来改进](./依赖隔离模式代码/story_improve/)
57+
- [抽象代码](./依赖隔离模式/role_abstract/)
3958

4059

4160

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 如何运行代码
2+
3+
不能运行
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 如何运行代码
2+
3+
不能运行
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 如何运行代码
2+
3+
不能运行
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 如何运行代码
2+
3+
不能运行
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# 如何编译Rescript代码
2+
3+
执行下面的命令来开Watch,会持续地监听修改,并编译为Javascript代码:
4+
```js
5+
npm run watch
6+
```
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# 如何编译Rescript代码
2+
3+
执行下面的命令来开Watch,会持续地监听修改,并编译为Javascript代码:
4+
```js
5+
npm run watch
6+
```
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# 如何运行代码
2+
3+
```js
4+
npm run webpack:dev-server
5+
```

拼接模式代码/story_improve/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
TODO explain
1+
# 如何运行代码
2+
3+
```js
4+
npm run webpack:dev-server
5+
```
6+
7+
# 代码说明
28

39
shader_chunks.json
410
```ts
@@ -17,6 +23,6 @@ shader_chunks.json
1723
},
1824
```
1925

20-
如果type为vs_function或者fs_function,则name为设置GLSL的动作名。如这里name为define_light_count的glsls,它里面的name是定义最大方向光个数的动作名
26+
如上面的代码所示,如果shader_chunks.json中的type为vs_function或者fs_function,则name为设置GLSL的动作名,如name(defineMaxDirectionLightCount)是定义最大方向光个数的动作名
2127

22-
这种type的glsl会在splice_pattern_engine->MaterialShaderGLSLUtils的buildGLSLChunkInVS、buildGLSLChunkInFS函数中处理
28+
这种type的glsl会在splice_pattern_engine/MaterialShaderGLSLUtils的buildGLSLChunkInVS、buildGLSLChunkInFS函数中处理

拼接模式抽象代码/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 如何运行代码
2+
3+
不能运行

0 commit comments

Comments
 (0)