WebGLShaderPrecisionFormat

@native @JSGlobal @JSType
class WebGLShaderPrecisionFormat extends Object

Represents information about the implementation's precision for given parameters. See WebGLRenderingContext#getShaderPrecisionFormat.

class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object

Concrete fields

val precision: Int

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

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

val rangeMax: Int

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

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

val rangeMin: Int

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

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