List of usage examples for com.google.gwt.webgl.client WebGLShaderPrecisionFormat getPrecision
public native int getPrecision() ;
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) {//from www .j a va2s . c o m WebGLShaderPrecisionFormat format = gl.getShaderPrecisionFormat(shadertype, precisiontype); range.put(format.getRangeMin()); precision.put(format.getPrecision()); }