A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/ja/docs/Web/API/WebGLRenderingContext/compileShader below:

WebGLRenderingContext: compileShader() メソッド - Web API

WebGLRenderingContext: compileShader() メソッド

Baseline Widely available

WebGLRenderingContext.compileShader() は WebGL API のメソッドで、 GLSL シェーダーをバイナリーへコンパイルします。これは WebGLProgram で使用することができます。

構文 引数
shader

フラグメントまたは頂点の WebGLShader。

返値

なし (undefined)。

例

js

const shader = gl.createShader(gl.VERTEX_SHADER);
gl.shaderSource(shader, shaderSource);
gl.compileShader(shader);
仕様書 ブラウザーの互換性 関連情報

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4