diff options
author | chai <chaifix@163.com> | 2018-12-25 08:30:33 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-25 08:30:33 +0800 |
commit | 966d916d04c2cae78f3253ada38675f75d7301ed (patch) | |
tree | cba30aa232c0e3a53b8d6cc052f8b379a02db6a3 /src | |
parent | b5e9b7add80b271c269943d9996b206378e2d820 (diff) |
*注释
Diffstat (limited to 'src')
-rw-r--r-- | src/libjin/graphics/shaders/je_jsl_compiler.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/libjin/graphics/shaders/je_jsl_compiler.cpp b/src/libjin/graphics/shaders/je_jsl_compiler.cpp index c5a004e..8904b96 100644 --- a/src/libjin/graphics/shaders/je_jsl_compiler.cpp +++ b/src/libjin/graphics/shaders/je_jsl_compiler.cpp @@ -17,21 +17,20 @@ namespace JinEngine { /// - /// Built-in variables in vertex shader: + /// Uniforms: /// jin_ProjectionMatrix --+ /// jin_ModelViewMatrix |- Uniforms /// jin_MainTexture | + /// jin_RenderTargetSize | /// jin_Time --+ + /// + /// Built-in variables in vertex shader: /// jin_VertexCoords --+ /// jin_TextureCoords |- Attributes /// jin_VertexColor --+ - /// jin_Color - GLSL built in + /// jin_Color ---- GLSL built in /// /// Built-in variables in fragment shader: - /// jin_ProjectionMatrix --+ - /// jin_ModelViewMatrix |- Uniforms - /// jin_MainTexture | - /// jin_Time --+ /// jin_Color --+ /// jin_XY |- Inputs /// jin_UV | |