W3cubDocs

/Haxe JavaScript

ShaderPrecisionFormat

package js.html.webgl

@:native("WebGLShaderPrecisionFormat") 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:

Variables

read only precision:Int

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

read only rangeMax:Int

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

read only rangeMin:Int

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

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