WebGLShaderPrecisionFormat

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

MDN Reference

Properties

Link copied to clipboard
open external val precision: GLint

The read-only WebGLShaderPrecisionFormat.precision property returns the number of bits of precision that can be represented.

Link copied to clipboard
open external val rangeMax: GLint

The read-only WebGLShaderPrecisionFormat.rangeMax property returns the base 2 log of the absolute value of the maximum value that can be represented.

Link copied to clipboard
open external val rangeMin: GLint

The read-only WebGLShaderPrecisionFormat.rangeMin property returns the base 2 log of the absolute value of the minimum value that can be represented.