Example usage for com.google.gwt.webgl.client WebGLShaderPrecisionFormat getRangeMin

List of usage examples for com.google.gwt.webgl.client WebGLShaderPrecisionFormat getRangeMin

Introduction

In this page you can find the example usage for com.google.gwt.webgl.client WebGLShaderPrecisionFormat getRangeMin.

Prototype

public native int getRangeMin() ;

Source Link

Usage

From source file:org.parallax3d.parallax.platforms.gwt.GwtGL20.java

License:Open Source License

@Override
public void glGetShaderPrecisionFormat(int shadertype, int precisiontype, IntBuffer range,
        IntBuffer precision) {/* w ww.  j  a v  a2  s.  c om*/
    WebGLShaderPrecisionFormat format = gl.getShaderPrecisionFormat(shadertype, precisiontype);
    range.put(format.getRangeMin());
    precision.put(format.getPrecision());
}