List of usage examples for com.google.gwt.webgl.client WebGLActiveInfo getName
public final native String getName() ;
From source file:com.badlogic.gdx.backends.gwt.GwtGL20.java
License:Apache License
@Override public String glGetActiveAttrib(int program, int index, IntBuffer size, Buffer type) { WebGLActiveInfo activeAttrib = gl.getActiveAttrib(programs.get(program), index); size.put(activeAttrib.getSize());/*from w ww .ja v a2 s . co m*/ ((IntBuffer) type).put(activeAttrib.getType()); return activeAttrib.getName(); }
From source file:com.badlogic.gdx.backends.gwt.GwtGL20.java
License:Apache License
@Override public String glGetActiveUniform(int program, int index, IntBuffer size, Buffer type) { WebGLActiveInfo activeUniform = gl.getActiveUniform(programs.get(program), index); size.put(activeUniform.getSize());//from w ww. ja v a2 s . c om ((IntBuffer) type).put(activeUniform.getType()); return activeUniform.getName(); }