diff options
author | chai <chaifix@163.com> | 2018-10-23 12:45:19 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-23 12:45:19 +0800 |
commit | c13f78a4a7b66ffdd597d27656569684d079baab (patch) | |
tree | e158ddeadd033eb08721fb62108428f9c6dd8802 /src | |
parent | 600e6bf8405c761cbf27122e1615e2ca701681e1 (diff) |
*增加guide line
Diffstat (limited to 'src')
-rw-r--r-- | src/libjin/Graphics/Shader/je_shader.h | 11 | ||||
-rw-r--r-- | src/libjin/Graphics/je_bitmap.h | 4 | ||||
-rw-r--r-- | src/libjin/README.md | 4 |
3 files changed, 11 insertions, 8 deletions
diff --git a/src/libjin/Graphics/Shader/je_shader.h b/src/libjin/Graphics/Shader/je_shader.h index 928fb0a..f721b5d 100644 --- a/src/libjin/Graphics/Shader/je_shader.h +++ b/src/libjin/Graphics/Shader/je_shader.h @@ -23,9 +23,8 @@ namespace JinEngine /// /// Built in shader program. /// - /// Built in shader program written with custom shading language called JSL (jin - /// shading language). A JSL program is compiled into glsl, so most glsl built in - /// functions and structs are available in JSL. + /// Built in shader program written with custom shading language called JSL (jin shading language). A JSL + /// program is compiled into glsl, so most glsl built in functions and structs are available in JSL. /// class Shader { @@ -143,8 +142,7 @@ namespace JinEngine /// @param n Number of vertices. /// @param type Data type of each component in the array. /// @param stride Byte offset between consecutive generic vertex attributes. - /// @param pointers Pointer to the first component of the first generic vertex - /// attribute in the array. + /// @param pointers Pointer to the first component of the first generic vertex attribute in the array. /// void bindVertexPointer(int n, GLenum type, GLsizei stride, const GLvoid * pointers); @@ -154,8 +152,7 @@ namespace JinEngine /// @param n Number of vertices. /// @param type Data type of each component in the array. /// @param stride Byte offset between consecutive generic vertex attributes. - /// @param pointers Pointer to the first component of the first generic vertex - /// attribute in the array. + /// @param pointers Pointer to the first component of the first generic vertex attribute in the array. /// void bindUVPointer(int n, GLenum type, GLsizei stride, const GLvoid * pointers); diff --git a/src/libjin/Graphics/je_bitmap.h b/src/libjin/Graphics/je_bitmap.h index ae97d0d..8f0c30d 100644 --- a/src/libjin/Graphics/je_bitmap.h +++ b/src/libjin/Graphics/je_bitmap.h @@ -17,7 +17,9 @@ namespace JinEngine /// /// A RGBA32 bitmap. /// - /// A bitmap keeps pixels and can't draw directly onto screen. To render bitmap, a texture is required. + /// A bitmap keeps pixels and can't draw directly onto screen. To render bitmap, a texture is required. A + /// texture is a renderable hard ware side structure which could be handled with GPU. For instance, opengl + /// create texture and store it in GPU memory for rendering them onto hdc. /// class Bitmap { diff --git a/src/libjin/README.md b/src/libjin/README.md index e69de29..57d6fe2 100644 --- a/src/libjin/README.md +++ b/src/libjin/README.md @@ -0,0 +1,4 @@ + + +GUIDE LINE 114 +------------------------------------------------------------------------------------------------------------------
\ No newline at end of file |