From c13f78a4a7b66ffdd597d27656569684d079baab Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 23 Oct 2018 12:45:19 +0800 Subject: =?UTF-8?q?*=E5=A2=9E=E5=8A=A0guide=20line?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/Shader/je_shader.h | 11 ++++------- src/libjin/Graphics/je_bitmap.h | 4 +++- src/libjin/README.md | 4 ++++ 3 files changed, 11 insertions(+), 8 deletions(-) (limited to 'src') 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 -- cgit v1.1-26-g67d0