W3cubDocs

/Haxe JavaScript

ShaderPrecisionFormat

package js.html.webgl

Available on js

The WebGLShaderPrecisionFormat interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method.

Documentation WebGLShaderPrecisionFormat by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Variables

read onlyprecision:Int

The number of bits of precision that can be represented. For integer formats this value is always 0.

read onlyrangeMax:Int

The base 2 log of the absolute value of the maximum value that can be represented.

read onlyrangeMin:Int

The base 2 log of the absolute value of the minimum value that can be represented.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/webgl/ShaderPrecisionFormat.html