This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

WebGLRenderingContext.compileShader()

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨июль 2015 г.⁩.

WebGLRenderingContext.compileShader() метод WebGL API компилирующий исходный код GLSL шейдера в бинарные данные для использования программой WebGLProgram.