public class WebGLShaderPrecisionFormat extends CanvasResource
| Modifier | Constructor and Description |
|---|---|
protected |
WebGLShaderPrecisionFormat(BaseCanvasComponent<?,?> canvas,
ShaderType type,
PrecisionType precision,
IResponseCallback<WebGLShaderPrecisionFormat> callback) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
callback(Object response) |
int |
getPrecision()
Returns the number of bits of precision that can be represented.
|
double |
getRangeMax()
Returns the base 2 log of the absolute value of the maximum value that can be represented.
|
double |
getRangeMin()
Returns the base 2 log of the absolute value of the minimum value that can be represented.
|
config, config, destroy, finalize, getCanvas, init, init, initResource, invoke, invoke, transformForClientprotected WebGLShaderPrecisionFormat(BaseCanvasComponent<?,?> canvas, ShaderType type, PrecisionType precision, IResponseCallback<WebGLShaderPrecisionFormat> callback)
protected void callback(Object response)
callback in class CanvasResourcepublic double getRangeMin()
public double getRangeMax()
public int getPrecision()
Copyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.