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
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
Remarks
For integer formats this value is always 0.
-WebGLShaderPrecisionFormat
-WebGLRenderingContext.GetShaderPrecisionFormat
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
Remarks
-WebGLShaderPrecisionFormat
-WebGLRenderingContext.GetShaderPrecisionFormat
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
Remarks
-WebGLShaderPrecisionFormat
-WebGLRenderingContext.GetShaderPrecisionFormat