Update Files
This commit is contained in:
@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `ANGLE_instanced_arrays` extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type.
|
||||
|
||||
Documentation [ANGLE_instanced_arrays](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays>
|
||||
**/
|
||||
@:native("ANGLE_instanced_arrays")
|
||||
extern class ANGLEInstancedArrays {
|
||||
|
||||
/**
|
||||
Returns a `GLint` describing the frequency divisor used for instanced rendering when used in the `WebGLRenderingContext.getVertexAttrib()` as the `pname` parameter.
|
||||
**/
|
||||
static inline var VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE : Int = 35070;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Behaves identically to `WebGLRenderingContext.drawArrays()` except that multiple instances of the range of elements are executed, and the instance advances for each iteration.
|
||||
|
||||
**/
|
||||
function drawArraysInstancedANGLE( mode : Int, first : Int, count : Int, primcount : Int ) : Void;
|
||||
|
||||
/**
|
||||
|
||||
Behaves identically to `WebGLRenderingContext.drawElements()` except that multiple instances of the set of elements are executed and the instance advances between each set.
|
||||
|
||||
**/
|
||||
function drawElementsInstancedANGLE( mode : Int, count : Int, type : Int, offset : Int, primcount : Int ) : Void;
|
||||
|
||||
/**
|
||||
|
||||
Modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives with `ANGLE_instanced_arrays.drawArraysInstancedANGLE()` and `ANGLE_instanced_arrays.drawElementsInstancedANGLE()`.
|
||||
|
||||
**/
|
||||
function vertexAttribDivisorANGLE( index : Int, divisor : Int ) : Void;
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `EXT_blend_minmax` extension is part of the WebGL API and extends blending capabilities by adding two new blend equations: the minimum or maximum color components of the source and destination colors.
|
||||
|
||||
Documentation [EXT_blend_minmax](https://developer.mozilla.org/en-US/docs/Web/API/EXT_blend_minmax) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/EXT_blend_minmax$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/EXT_blend_minmax>
|
||||
**/
|
||||
@:native("EXT_blend_minmax")
|
||||
extern class EXTBlendMinmax {
|
||||
|
||||
/**
|
||||
Produces the minimum color components of the source and destination colors.
|
||||
**/
|
||||
static inline var MIN_EXT : Int = 32775;
|
||||
|
||||
/**
|
||||
Produces the maximum color components of the source and destination colors.
|
||||
**/
|
||||
static inline var MAX_EXT : Int = 32776;
|
||||
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGL2RenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
typedef EXTColorBufferFloat = {
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `EXT_color_buffer_half_float` extension is part of the WebGL API and adds the ability to render to 16-bit floating-point color buffers.
|
||||
|
||||
Documentation [EXT_color_buffer_half_float](https://developer.mozilla.org/en-US/docs/Web/API/EXT_color_buffer_half_float) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/EXT_color_buffer_half_float$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/EXT_color_buffer_half_float>
|
||||
**/
|
||||
@:native("EXT_color_buffer_half_float")
|
||||
extern class EXTColorBufferHalfFloat {
|
||||
|
||||
/**
|
||||
RGBA 16-bit floating-point color-renderable format.
|
||||
**/
|
||||
static inline var RGBA16F_EXT : Int = 34842;
|
||||
|
||||
/**
|
||||
RGB 16-bit floating-point color-renderable format.
|
||||
**/
|
||||
static inline var RGB16F_EXT : Int = 34843;
|
||||
|
||||
/**
|
||||
?
|
||||
**/
|
||||
static inline var FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT : Int = 33297;
|
||||
|
||||
/**
|
||||
?
|
||||
**/
|
||||
static inline var UNSIGNED_NORMALIZED_EXT : Int = 35863;
|
||||
|
||||
}
|
@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The EXT_disjoint_timer_query extension is part of the WebGL API and provides a way to measure the duration of a set of GL commands, without stalling the rendering pipeline.
|
||||
|
||||
Documentation [EXT_disjoint_timer_query](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query>
|
||||
**/
|
||||
@:native("EXT_disjoint_timer_query")
|
||||
extern class EXTDisjointTimerQuery {
|
||||
|
||||
/**
|
||||
A `GLint` indicating the number of bits used to hold the query result for the given target.
|
||||
**/
|
||||
static inline var QUERY_COUNTER_BITS_EXT : Int = 34916;
|
||||
|
||||
/**
|
||||
A `WebGLQuery` object, which is the currently active query for the given target.
|
||||
**/
|
||||
static inline var CURRENT_QUERY_EXT : Int = 34917;
|
||||
|
||||
/**
|
||||
A `GLuint64EXT` containing the query result.
|
||||
**/
|
||||
static inline var QUERY_RESULT_EXT : Int = 34918;
|
||||
|
||||
/**
|
||||
A `GLboolean` indicating whether or not a query result is available.
|
||||
**/
|
||||
static inline var QUERY_RESULT_AVAILABLE_EXT : Int = 34919;
|
||||
|
||||
/**
|
||||
Elapsed time (in nanoseconds).
|
||||
**/
|
||||
static inline var TIME_ELAPSED_EXT : Int = 35007;
|
||||
|
||||
/**
|
||||
The current time.
|
||||
**/
|
||||
static inline var TIMESTAMP_EXT : Int = 36392;
|
||||
|
||||
/**
|
||||
A `GLboolean` indicating whether or not the GPU performed any disjoint operation.
|
||||
**/
|
||||
static inline var GPU_DISJOINT_EXT : Int = 36795;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Creates a new `WebGLQuery`.
|
||||
|
||||
**/
|
||||
function createQueryEXT() : js.html.webgl.Query;
|
||||
|
||||
/**
|
||||
|
||||
Deletes a given `WebGLQuery`.
|
||||
|
||||
**/
|
||||
function deleteQueryEXT( query : js.html.webgl.Query ) : Void;
|
||||
|
||||
/**
|
||||
|
||||
Returns `true` if a given object is a `WebGLQuery`.
|
||||
|
||||
**/
|
||||
function isQueryEXT( query : js.html.webgl.Query ) : Bool;
|
||||
|
||||
/**
|
||||
The timer starts when all commands prior to `beginQueryEXT` have been fully executed.
|
||||
**/
|
||||
function beginQueryEXT( target : Int, query : js.html.webgl.Query ) : Void;
|
||||
|
||||
/**
|
||||
The timer stops when all commands prior to `endQueryEXT` have been fully executed.
|
||||
**/
|
||||
function endQueryEXT( target : Int ) : Void;
|
||||
|
||||
/**
|
||||
|
||||
Records the current time into the corresponding query object.
|
||||
|
||||
**/
|
||||
function queryCounterEXT( query : js.html.webgl.Query, target : Int ) : Void;
|
||||
|
||||
/**
|
||||
Returns information about a query target.
|
||||
**/
|
||||
function getQueryEXT( target : Int, pname : Int ) : Dynamic;
|
||||
|
||||
/**
|
||||
Return the state of a query object.
|
||||
**/
|
||||
function getQueryObjectEXT( query : js.html.webgl.Query, pname : Int ) : Dynamic;
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
typedef EXTFragDepth = {
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
typedef EXTShaderTextureLod = {
|
||||
}
|
57
Kha/Tools/linux_arm64/std/js/html/webgl/extension/EXTSrgb.hx
Normal file
57
Kha/Tools/linux_arm64/std/js/html/webgl/extension/EXTSrgb.hx
Normal file
@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `EXT_sRGB` extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.
|
||||
|
||||
Documentation [EXT_sRGB](https://developer.mozilla.org/en-US/docs/Web/API/EXT_sRGB) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/EXT_sRGB$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/EXT_sRGB>
|
||||
**/
|
||||
@:native("EXT_sRGB")
|
||||
extern class EXTSrgb {
|
||||
|
||||
/**
|
||||
Unsized sRGB format that leaves the precision up to the driver.
|
||||
**/
|
||||
static inline var SRGB_EXT : Int = 35904;
|
||||
|
||||
/**
|
||||
Unsized sRGB format with unsized alpha component.
|
||||
**/
|
||||
static inline var SRGB_ALPHA_EXT : Int = 35906;
|
||||
|
||||
/**
|
||||
Sized (8-bit) sRGB and alpha formats.
|
||||
**/
|
||||
static inline var SRGB8_ALPHA8_EXT : Int = 35907;
|
||||
|
||||
/**
|
||||
Returns the framebuffer color encoding (`gl.LINEAR` or `ext.SRGB_EXT`).
|
||||
**/
|
||||
static inline var FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT : Int = 33296;
|
||||
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `EXT_texture_filter_anisotropic` extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF).
|
||||
|
||||
Documentation [EXT_texture_filter_anisotropic](https://developer.mozilla.org/en-US/docs/Web/API/EXT_texture_filter_anisotropic) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/EXT_texture_filter_anisotropic$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/EXT_texture_filter_anisotropic>
|
||||
**/
|
||||
@:native("EXT_texture_filter_anisotropic")
|
||||
extern class EXTTextureFilterAnisotropic {
|
||||
|
||||
/**
|
||||
This is the `pname` argument to the `WebGLRenderingContext.getTexParameter` and `WebGLRenderingContext.texParameterf` / `WebGLRenderingContext.texParameteri` calls and sets the desired maximum anisotropy for a texture.
|
||||
**/
|
||||
static inline var TEXTURE_MAX_ANISOTROPY_EXT : Int = 34046;
|
||||
|
||||
/**
|
||||
This is the `pname` argument to the `WebGLRenderingContext.getParameter` call, and it returns the maximum available anisotropy.
|
||||
**/
|
||||
static inline var MAX_TEXTURE_MAX_ANISOTROPY_EXT : Int = 34047;
|
||||
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
typedef OESElementIndexUint = {
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `OES_standard_derivatives` extension is part of the WebGL API and adds the GLSL derivative functions `dFdx`, `dFdy`, and `fwidth`.
|
||||
|
||||
Documentation [OES_standard_derivatives](https://developer.mozilla.org/en-US/docs/Web/API/OES_standard_derivatives) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/OES_standard_derivatives$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/OES_standard_derivatives>
|
||||
**/
|
||||
@:native("OES_standard_derivatives")
|
||||
extern class OESStandardDerivatives {
|
||||
|
||||
/**
|
||||
A `Glenum` indicating the accuracy of the derivative calculation for the GLSL built-in functions: `dFdx`, `dFdy`, and `fwidth`.
|
||||
**/
|
||||
static inline var FRAGMENT_SHADER_DERIVATIVE_HINT_OES : Int = 35723;
|
||||
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
typedef OESTextureFloat = {
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
typedef OESTextureFloatLinear = {
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `OES_texture_half_float` extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components.
|
||||
|
||||
Documentation [OES_texture_half_float](https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_half_float) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_half_float$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_half_float>
|
||||
**/
|
||||
@:native("OES_texture_half_float")
|
||||
extern class OESTextureHalfFloat {
|
||||
|
||||
/**
|
||||
Half floating-point type (16-bit).
|
||||
**/
|
||||
static inline var HALF_FLOAT_OES : Int = 36193;
|
||||
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
typedef OESTextureHalfFloatLinear = {
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The OES_vertex_array_object extension is part of the WebGL API and provides vertex array objects (VAOs) which encapsulate vertex array states. These objects keep pointers to vertex data and provide names for different sets of vertex data.
|
||||
|
||||
Documentation [OES_vertex_array_object](https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object>
|
||||
**/
|
||||
@:native("OES_vertex_array_object")
|
||||
extern class OESVertexArrayObject {
|
||||
|
||||
/**
|
||||
Returns a `WebGLVertexArrayObject` object when used in the `WebGLRenderingContext.getParameter()` method as the `pname` parameter.
|
||||
**/
|
||||
static inline var VERTEX_ARRAY_BINDING_OES : Int = 34229;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Creates a new `WebGLVertexArrayObject`.
|
||||
|
||||
**/
|
||||
function createVertexArrayOES() : js.html.webgl.VertexArrayObject;
|
||||
|
||||
/**
|
||||
|
||||
Deletes a given `WebGLVertexArrayObject`.
|
||||
|
||||
**/
|
||||
function deleteVertexArrayOES( arrayObject : js.html.webgl.VertexArrayObject ) : Void;
|
||||
|
||||
/**
|
||||
|
||||
Returns `true` if a given object is a `WebGLVertexArrayObject`.
|
||||
|
||||
**/
|
||||
function isVertexArrayOES( arrayObject : js.html.webgl.VertexArrayObject ) : Bool;
|
||||
|
||||
/**
|
||||
|
||||
Binds a given `WebGLVertexArrayObject` to the buffer.
|
||||
|
||||
**/
|
||||
function bindVertexArrayOES( arrayObject : js.html.webgl.VertexArrayObject ) : Void;
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `WEBGL_color_buffer_float` extension is part of the WebGL API and adds the ability to render to 32-bit floating-point color buffers.
|
||||
|
||||
Documentation [WEBGL_color_buffer_float](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_color_buffer_float) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_color_buffer_float$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_color_buffer_float>
|
||||
**/
|
||||
@:native("WEBGL_color_buffer_float")
|
||||
extern class WEBGLColorBufferFloat {
|
||||
|
||||
/**
|
||||
RGBA 32-bit floating-point color-renderable format.
|
||||
**/
|
||||
static inline var RGBA32F_EXT : Int = 34836;
|
||||
|
||||
/**
|
||||
RGB 32-bit floating-point color-renderable format.
|
||||
**/
|
||||
static inline var RGB32F_EXT : Int = 34837;
|
||||
|
||||
/**
|
||||
?
|
||||
**/
|
||||
static inline var FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT : Int = 33297;
|
||||
|
||||
/**
|
||||
?
|
||||
**/
|
||||
static inline var UNSIGNED_NORMALIZED_EXT : Int = 35863;
|
||||
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `WEBGL_compressed_texture_astc` extension is part of the WebGL API and exposes Adaptive Scalable Texture Compression (ASTC) compressed texture formats to WebGL.
|
||||
|
||||
Documentation [WEBGL_compressed_texture_astc](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_astc) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_astc$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_astc>
|
||||
**/
|
||||
@:native("WEBGL_compressed_texture_astc")
|
||||
extern class WEBGLCompressedTextureAstc {
|
||||
static inline var COMPRESSED_RGBA_ASTC_4x4_KHR : Int = 37808;
|
||||
static inline var COMPRESSED_RGBA_ASTC_5x4_KHR : Int = 37809;
|
||||
static inline var COMPRESSED_RGBA_ASTC_5x5_KHR : Int = 37810;
|
||||
static inline var COMPRESSED_RGBA_ASTC_6x5_KHR : Int = 37811;
|
||||
static inline var COMPRESSED_RGBA_ASTC_6x6_KHR : Int = 37812;
|
||||
static inline var COMPRESSED_RGBA_ASTC_8x5_KHR : Int = 37813;
|
||||
static inline var COMPRESSED_RGBA_ASTC_8x6_KHR : Int = 37814;
|
||||
static inline var COMPRESSED_RGBA_ASTC_8x8_KHR : Int = 37815;
|
||||
static inline var COMPRESSED_RGBA_ASTC_10x5_KHR : Int = 37816;
|
||||
static inline var COMPRESSED_RGBA_ASTC_10x6_KHR : Int = 37817;
|
||||
static inline var COMPRESSED_RGBA_ASTC_10x8_KHR : Int = 37818;
|
||||
static inline var COMPRESSED_RGBA_ASTC_10x10_KHR : Int = 37819;
|
||||
static inline var COMPRESSED_RGBA_ASTC_12x10_KHR : Int = 37820;
|
||||
static inline var COMPRESSED_RGBA_ASTC_12x12_KHR : Int = 37821;
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR : Int = 37840;
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR : Int = 37841;
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR : Int = 37842;
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR : Int = 37843;
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR : Int = 37844;
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR : Int = 37845;
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR : Int = 37846;
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR : Int = 37847;
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR : Int = 37848;
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR : Int = 37849;
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR : Int = 37850;
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR : Int = 37851;
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR : Int = 37852;
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR : Int = 37853;
|
||||
|
||||
function getSupportedProfiles() : Array<String>;
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `WEBGL_compressed_texture_atc` extension is part of the WebGL API and exposes 3 ATC compressed texture formats. ATC is a proprietary compression algorithm for compressing textures on handheld devices.
|
||||
|
||||
Documentation [WEBGL_compressed_texture_atc](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_atc) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_atc$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_atc>
|
||||
**/
|
||||
@:native("WEBGL_compressed_texture_atc")
|
||||
extern class WEBGLCompressedTextureAtc {
|
||||
|
||||
/**
|
||||
Compresses RGB textures with no alpha channel.
|
||||
**/
|
||||
static inline var COMPRESSED_RGB_ATC_WEBGL : Int = 35986;
|
||||
|
||||
/**
|
||||
Compresses RGBA textures using explicit alpha encoding (useful when alpha transitions are sharp).
|
||||
**/
|
||||
static inline var COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL : Int = 35987;
|
||||
|
||||
/**
|
||||
Compresses RGBA textures using interpolated alpha encoding (useful when alpha transitions are gradient).
|
||||
**/
|
||||
static inline var COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL : Int = 34798;
|
||||
|
||||
}
|
@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `WEBGL_compressed_texture_etc` extension is part of the WebGL API and exposes 10 ETC/EAC compressed texture formats.
|
||||
|
||||
Documentation [WEBGL_compressed_texture_etc](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_etc) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_etc$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_etc>
|
||||
**/
|
||||
@:native("WEBGL_compressed_texture_etc")
|
||||
extern class WEBGLCompressedTextureEtc {
|
||||
|
||||
/**
|
||||
One-channel (red) unsigned format compression.
|
||||
**/
|
||||
static inline var COMPRESSED_R11_EAC : Int = 37488;
|
||||
|
||||
/**
|
||||
One-channel (red) signed format compression.
|
||||
**/
|
||||
static inline var COMPRESSED_SIGNED_R11_EAC : Int = 37489;
|
||||
|
||||
/**
|
||||
Two-channel (red and green) unsigned format compression.
|
||||
**/
|
||||
static inline var COMPRESSED_RG11_EAC : Int = 37490;
|
||||
|
||||
/**
|
||||
Two-channel (red and green) signed format compression.
|
||||
**/
|
||||
static inline var COMPRESSED_SIGNED_RG11_EAC : Int = 37491;
|
||||
|
||||
/**
|
||||
Compresses RGB8 data with no alpha channel.
|
||||
**/
|
||||
static inline var COMPRESSED_RGB8_ETC2 : Int = 37492;
|
||||
|
||||
/**
|
||||
Compresses sRGB8 data with no alpha channel.
|
||||
**/
|
||||
static inline var COMPRESSED_SRGB8_ETC2 : Int = 37493;
|
||||
|
||||
/**
|
||||
Similar to `RGB8_ETC`, but with ability to punch through the alpha channel, which means to make it completely opaque or transparent.
|
||||
**/
|
||||
static inline var COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 : Int = 37494;
|
||||
|
||||
/**
|
||||
Similar to `SRGB8_ETC`, but with ability to punch through the alpha channel, which means to make it completely opaque or transparent.
|
||||
**/
|
||||
static inline var COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 : Int = 37495;
|
||||
|
||||
/**
|
||||
Compresses RGBA8 data. The RGB part is encoded the same as `RGB_ETC2`, but the alpha part is encoded separately.
|
||||
**/
|
||||
static inline var COMPRESSED_RGBA8_ETC2_EAC : Int = 37496;
|
||||
|
||||
/**
|
||||
Compresses sRGBA8 data. The sRGB part is encoded the same as `SRGB_ETC2`, but the alpha part is encoded separately.
|
||||
**/
|
||||
static inline var COMPRESSED_SRGB8_ALPHA8_ETC2_EAC : Int = 37497;
|
||||
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `WEBGL_compressed_texture_etc1` extension is part of the WebGL API and exposes the ETC1 compressed texture format.
|
||||
|
||||
Documentation [WEBGL_compressed_texture_etc1](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_etc1) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_etc1$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_etc1>
|
||||
**/
|
||||
@:native("WEBGL_compressed_texture_etc1")
|
||||
extern class WEBGLCompressedTextureEtc1 {
|
||||
|
||||
/**
|
||||
Compresses 24-bit RGB data with no alpha channel.
|
||||
**/
|
||||
static inline var COMPRESSED_RGB_ETC1_WEBGL : Int = 36196;
|
||||
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `WEBGL_compressed_texture_pvrtc` extension is part of the WebGL API and exposes four PVRTC compressed texture formats.
|
||||
|
||||
Documentation [WEBGL_compressed_texture_pvrtc](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_pvrtc) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_pvrtc$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_pvrtc>
|
||||
**/
|
||||
@:native("WEBGL_compressed_texture_pvrtc")
|
||||
extern class WEBGLCompressedTexturePvrtc {
|
||||
|
||||
/**
|
||||
RGB compression in 4-bit mode. One block for each 4×4 pixels.
|
||||
**/
|
||||
static inline var COMPRESSED_RGB_PVRTC_4BPPV1_IMG : Int = 35840;
|
||||
|
||||
/**
|
||||
RGB compression in 2-bit mode. One block for each 8×4 pixels.
|
||||
**/
|
||||
static inline var COMPRESSED_RGB_PVRTC_2BPPV1_IMG : Int = 35841;
|
||||
|
||||
/**
|
||||
RGBA compression in 4-bit mode. One block for each 4×4 pixels.
|
||||
**/
|
||||
static inline var COMPRESSED_RGBA_PVRTC_4BPPV1_IMG : Int = 35842;
|
||||
|
||||
/**
|
||||
RGBA compression in 2-bit mode. One block for each 8×4 pixels.
|
||||
**/
|
||||
static inline var COMPRESSED_RGBA_PVRTC_2BPPV1_IMG : Int = 35843;
|
||||
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `WEBGL_compressed_texture_s3tc` extension is part of the WebGL API and exposes four S3TC compressed texture formats.
|
||||
|
||||
Documentation [WEBGL_compressed_texture_s3tc](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_s3tc) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_s3tc$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_s3tc>
|
||||
**/
|
||||
@:native("WEBGL_compressed_texture_s3tc")
|
||||
extern class WEBGLCompressedTextureS3tc {
|
||||
|
||||
/**
|
||||
A DXT1-compressed image in an RGB image format.
|
||||
**/
|
||||
static inline var COMPRESSED_RGB_S3TC_DXT1_EXT : Int = 33776;
|
||||
|
||||
/**
|
||||
A DXT1-compressed image in an RGB image format with a simple on/off alpha value.
|
||||
**/
|
||||
static inline var COMPRESSED_RGBA_S3TC_DXT1_EXT : Int = 33777;
|
||||
|
||||
/**
|
||||
A DXT3-compressed image in an RGBA image format. Compared to a 32-bit RGBA texture, it offers 4:1 compression.
|
||||
**/
|
||||
static inline var COMPRESSED_RGBA_S3TC_DXT3_EXT : Int = 33778;
|
||||
|
||||
/**
|
||||
A DXT5-compressed image in an RGBA image format. It also provides a 4:1 compression, but differs to the DXT3 compression in how the alpha compression is done.
|
||||
**/
|
||||
static inline var COMPRESSED_RGBA_S3TC_DXT5_EXT : Int = 33779;
|
||||
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `WEBGL_compressed_texture_s3tc_srgb` extension is part of the WebGL API and exposes four S3TC compressed texture formats for the sRGB colorspace.
|
||||
|
||||
Documentation [WEBGL_compressed_texture_s3tc_srgb](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_s3tc_srgb) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_s3tc_srgb$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_s3tc_srgb>
|
||||
**/
|
||||
@:native("WEBGL_compressed_texture_s3tc_srgb")
|
||||
extern class WEBGLCompressedTextureS3tcSrgb {
|
||||
|
||||
/**
|
||||
A DXT1-compressed image in an sRGB image format.
|
||||
**/
|
||||
static inline var COMPRESSED_SRGB_S3TC_DXT1_EXT : Int = 35916;
|
||||
|
||||
/**
|
||||
A DXT1-compressed image in an sRGB image format with a simple on/off alpha value.
|
||||
**/
|
||||
static inline var COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT : Int = 35917;
|
||||
|
||||
/**
|
||||
A DXT3-compressed image in an sRGBA image format.
|
||||
**/
|
||||
static inline var COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT : Int = 35918;
|
||||
|
||||
/**
|
||||
A DXT5-compressed image in an sRGBA image format.
|
||||
**/
|
||||
static inline var COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT : Int = 35919;
|
||||
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `WEBGL_debug_renderer_info` extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes.
|
||||
|
||||
Documentation [WEBGL_debug_renderer_info](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info>
|
||||
**/
|
||||
@:native("WEBGL_debug_renderer_info")
|
||||
extern class WEBGLDebugRendererInfo {
|
||||
static inline var UNMASKED_VENDOR_WEBGL : Int = 37445;
|
||||
static inline var UNMASKED_RENDERER_WEBGL : Int = 37446;
|
||||
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
typedef WEBGLDebugShaders = {
|
||||
function getTranslatedShaderSource( shader : js.html.webgl.Shader ) : String;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `WEBGL_depth_texture` extension is part of the WebGL API and defines 2D depth and depth-stencil textures.
|
||||
|
||||
Documentation [WEBGL_depth_texture](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_depth_texture) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_depth_texture$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_depth_texture>
|
||||
**/
|
||||
@:native("WEBGL_depth_texture")
|
||||
extern class WEBGLDepthTexture {
|
||||
|
||||
/**
|
||||
Unsigned integer type for 24-bit depth texture data.
|
||||
**/
|
||||
static inline var UNSIGNED_INT_24_8_WEBGL : Int = 34042;
|
||||
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
/**
|
||||
The `WEBGL_draw_buffers` extension is part of the WebGL API and enables a fragment shader to write to several textures, which is useful for deferred shading, for example.
|
||||
|
||||
Documentation [WEBGL_draw_buffers](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_draw_buffers) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_draw_buffers$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_draw_buffers>
|
||||
**/
|
||||
@:native("WEBGL_draw_buffers")
|
||||
extern class WEBGLDrawBuffers {
|
||||
|
||||
/**
|
||||
A `GLenum` specifying a color buffer.
|
||||
**/
|
||||
static inline var COLOR_ATTACHMENT0_WEBGL : Int = 36064;
|
||||
static inline var COLOR_ATTACHMENT1_WEBGL : Int = 36065;
|
||||
static inline var COLOR_ATTACHMENT2_WEBGL : Int = 36066;
|
||||
static inline var COLOR_ATTACHMENT3_WEBGL : Int = 36067;
|
||||
static inline var COLOR_ATTACHMENT4_WEBGL : Int = 36068;
|
||||
static inline var COLOR_ATTACHMENT5_WEBGL : Int = 36069;
|
||||
static inline var COLOR_ATTACHMENT6_WEBGL : Int = 36070;
|
||||
static inline var COLOR_ATTACHMENT7_WEBGL : Int = 36071;
|
||||
static inline var COLOR_ATTACHMENT8_WEBGL : Int = 36072;
|
||||
static inline var COLOR_ATTACHMENT9_WEBGL : Int = 36073;
|
||||
static inline var COLOR_ATTACHMENT10_WEBGL : Int = 36074;
|
||||
static inline var COLOR_ATTACHMENT11_WEBGL : Int = 36075;
|
||||
static inline var COLOR_ATTACHMENT12_WEBGL : Int = 36076;
|
||||
static inline var COLOR_ATTACHMENT13_WEBGL : Int = 36077;
|
||||
static inline var COLOR_ATTACHMENT14_WEBGL : Int = 36078;
|
||||
static inline var COLOR_ATTACHMENT15_WEBGL : Int = 36079;
|
||||
|
||||
/**
|
||||
A `GLenum` returning a draw buffer.
|
||||
**/
|
||||
static inline var DRAW_BUFFER0_WEBGL : Int = 34853;
|
||||
static inline var DRAW_BUFFER1_WEBGL : Int = 34854;
|
||||
static inline var DRAW_BUFFER2_WEBGL : Int = 34855;
|
||||
static inline var DRAW_BUFFER3_WEBGL : Int = 34856;
|
||||
static inline var DRAW_BUFFER4_WEBGL : Int = 34857;
|
||||
static inline var DRAW_BUFFER5_WEBGL : Int = 34858;
|
||||
static inline var DRAW_BUFFER6_WEBGL : Int = 34859;
|
||||
static inline var DRAW_BUFFER7_WEBGL : Int = 34860;
|
||||
static inline var DRAW_BUFFER8_WEBGL : Int = 34861;
|
||||
static inline var DRAW_BUFFER9_WEBGL : Int = 34862;
|
||||
static inline var DRAW_BUFFER10_WEBGL : Int = 34863;
|
||||
static inline var DRAW_BUFFER11_WEBGL : Int = 34864;
|
||||
static inline var DRAW_BUFFER12_WEBGL : Int = 34865;
|
||||
static inline var DRAW_BUFFER13_WEBGL : Int = 34866;
|
||||
static inline var DRAW_BUFFER14_WEBGL : Int = 34867;
|
||||
static inline var DRAW_BUFFER15_WEBGL : Int = 34868;
|
||||
|
||||
/**
|
||||
A `GLint` indicating the maximum number of framebuffer color attachment points.
|
||||
**/
|
||||
static inline var MAX_COLOR_ATTACHMENTS_WEBGL : Int = 36063;
|
||||
|
||||
/**
|
||||
A `GLint` indicating the maximum number of draw buffers.
|
||||
**/
|
||||
static inline var MAX_DRAW_BUFFERS_WEBGL : Int = 34852;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Defines the draw buffers to which all fragment colors are written. (When using `WebGL2RenderingContext`, this method is available as `WebGL2RenderingContext.drawBuffers()` by default).
|
||||
|
||||
**/
|
||||
function drawBuffersWEBGL( buffers : Array<Int> ) : Void;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\WebGLRenderingContext.webidl. Do not edit!
|
||||
|
||||
package js.html.webgl.extension;
|
||||
|
||||
typedef WEBGLLoseContext = {
|
||||
function loseContext() : Void;
|
||||
function restoreContext() : Void;
|
||||
}
|
Reference in New Issue
Block a user