Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
WebGL API の WebGLRenderingContext.createProgram() メソッドは、WebGLProgram オブジェクトを作成、初期化します。
ありません。
WebGLProgram オブジェクトは、2 つのコンパイルされた WebGLShader の組み合わせで、頂点シェーダーとフラグメントシェーダー (どちらも GLSL で書かれる) で成り立ちます。そして、これらを使用可能なプログラムへとリンクします。
WebGLShader を参照すると、上記サンプルの vertexShader と fragmentShader の作成についての情報が得られます。
| WebGL Specification # 5.14.9 |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2026年2月17日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.