aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/webgl_api/tutorial
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2021-09-14 11:07:46 +0900
committerGitHub <noreply@github.com>2021-09-14 11:07:46 +0900
commit03385cc9f4f157cec2e5fd05f35e6af646055908 (patch)
tree445fcb3a7d033d4ef35c4d4238b28b9630e3dc5b /files/ja/web/api/webgl_api/tutorial
parentb8899e350326af3e53dfad89747761c1c13a3915 (diff)
downloadtranslated-content-03385cc9f4f157cec2e5fd05f35e6af646055908.tar.gz
translated-content-03385cc9f4f157cec2e5fd05f35e6af646055908.tar.bz2
translated-content-03385cc9f4f157cec2e5fd05f35e6af646055908.zip
Web/API以下の文書内のリンクURLを正規化 (#2360)
- /en-US へのリンクを /ja へのリンクに修正 - /ja が付いていないものに /ja を付加 - MDN内のリンクが完全URLの場合、 /ja/docs からのURLに修正
Diffstat (limited to 'files/ja/web/api/webgl_api/tutorial')
-rw-r--r--files/ja/web/api/webgl_api/tutorial/adding_2d_content_to_a_webgl_context/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ja/web/api/webgl_api/tutorial/adding_2d_content_to_a_webgl_context/index.html b/files/ja/web/api/webgl_api/tutorial/adding_2d_content_to_a_webgl_context/index.html
index c96c77043d..934f52c3ea 100644
--- a/files/ja/web/api/webgl_api/tutorial/adding_2d_content_to_a_webgl_context/index.html
+++ b/files/ja/web/api/webgl_api/tutorial/adding_2d_content_to_a_webgl_context/index.html
@@ -129,7 +129,7 @@ translation_of: Web/API/WebGL_API/Tutorial/Adding_2D_content_to_a_WebGL_context
<pre class="brush: js line-numbers language-js"><code class="language-js"> <span class="keyword token">const</span> shaderProgram <span class="operator token">=</span> <span class="function token">initShaderProgram</span><span class="punctuation token">(</span>gl<span class="punctuation token">,</span> vsSource<span class="punctuation token">,</span> fsSource<span class="punctuation token">)</span><span class="punctuation token">;</span></code></pre>
-<p>After we've created a shader program we need to look up the locations that WebGL assigned to our inputs. In this case we have one attribute and two uniforms. Attributes receive values from buffers. Each iteration of the vertex shader receives the next value from the buffer assigned to that attribute. <a href="/en-US/docs/Web/API/WebGL_API/Data#Uniforms">Uniforms</a> are similar to JavaScript global variables. They stay the same value for all iterations of a shader. Since the attribute and uniform locations are specific to a single shader program we'll store them together to make them easy to pass around</p>
+<p>After we've created a shader program we need to look up the locations that WebGL assigned to our inputs. In this case we have one attribute and two uniforms. Attributes receive values from buffers. Each iteration of the vertex shader receives the next value from the buffer assigned to that attribute. <a href="/ja/docs/Web/API/WebGL_API/Data#Uniforms">Uniforms</a> are similar to JavaScript global variables. They stay the same value for all iterations of a shader. Since the attribute and uniform locations are specific to a single shader program we'll store them together to make them easy to pass around</p>
<pre class="brush: js line-numbers language-js"><code class="language-js"> <span class="keyword token">const</span> programInfo <span class="operator token">=</span> <span class="punctuation token">{</span>
program<span class="punctuation token">:</span> shaderProgram<span class="punctuation token">,</span>