Table of Contents

Class WebGLShaderPrecisionFormat

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

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

[Value("WebGLShaderPrecisionFormat")]
public class WebGLShaderPrecisionFormat
Inheritance
WebGLShaderPrecisionFormat
Inherited Members

Remarks

-WebGLRenderingContext.GetShaderPrecisionFormat

See also on MDN

Constructors

WebGLShaderPrecisionFormat()

public WebGLShaderPrecisionFormat()

Properties

Precision

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

[Value("precision")]
public long Precision { get; }

Property Value

long

Remarks

For integer formats this value is always 0.

-WebGLShaderPrecisionFormat
-WebGLRenderingContext.GetShaderPrecisionFormat

See also on MDN

RangeMax

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

[Value("rangeMax")]
public long RangeMax { get; }

Property Value

long

Remarks

-WebGLShaderPrecisionFormat
-WebGLRenderingContext.GetShaderPrecisionFormat

See also on MDN

RangeMin

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

[Value("rangeMin")]
public long RangeMin { get; }

Property Value

long

Remarks

-WebGLShaderPrecisionFormat
-WebGLRenderingContext.GetShaderPrecisionFormat

See also on MDN