mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Add WebGLSampler support
Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.13
This commit is contained in:
parent
78438113d4
commit
26df1962c3
16 changed files with 394 additions and 88 deletions
11
components/script/dom/webidls/WebGLSampler.webidl
Normal file
11
components/script/dom/webidls/WebGLSampler.webidl
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
//
|
||||
// WebGL IDL definitions scraped from the Khronos specification:
|
||||
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.8
|
||||
//
|
||||
|
||||
[Exposed=Window, Pref="dom.webgl2.enabled"]
|
||||
interface WebGLSampler : WebGLObject {
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue