本文整理汇总了Java中com.google.gwt.typedarrays.shared.Uint32Array类的典型用法代码示例。如果您正苦于以下问题:Java Uint32Array类的具体用法?Java Uint32Array怎么用?Java Uint32Array使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Uint32Array类属于com.google.gwt.typedarrays.shared包,在下文中一共展示了Uint32Array类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: glGetActiveUniforms
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
public static Int32Array glGetActiveUniforms(int program, List<Integer> uniformIndices, int pname)
{
Uint32Array indices = Uint32ArrayNative.create(uniformIndices.size());
for (int i = 0; i < uniformIndices.size(); i++)
indices.set(i, uniformIndices.get(i));
return glGetActiveUniforms(program, indices, pname);
}
示例2: glGetUniformIndices
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
public static Uint32Array glGetUniformIndices(int program, List<String> uniformNames)
{
JsArrayString arrayString = JsArrayString.createArray(uniformNames.size()).cast();
for (String uniformName : uniformNames)
arrayString.push(uniformName);
return glGetUniformIndices(program, arrayString);
}
示例3: glClearBufferuiv
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
public static void glClearBufferuiv(int buffer, int drawbuffer, Uint32Array source)
{
checkContextCompatibility();
nglClearBufferuiv(buffer, drawbuffer, source);
}
示例4: glDrawBuffers
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
public static void glDrawBuffers(Uint32Array buffers)
{
checkContextCompatibility();
nglDrawBuffers(buffers);
}
示例5: glUniform1uiv
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
public static void glUniform1uiv(int location, Uint32Array value)
{
checkContextCompatibility();
nglUniform1uiv(WebGLObjectMap.get().toUniform(location), value);
}
示例6: glUniform2uiv
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
public static void glUniform2uiv(int location, Uint32Array value)
{
checkContextCompatibility();
nglUniform2uiv(WebGLObjectMap.get().toUniform(location), value);
}
示例7: glUniform3uiv
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
public static void glUniform3uiv(int location, Uint32Array value)
{
checkContextCompatibility();
nglUniform3uiv(WebGLObjectMap.get().toUniform(location), value);
}
示例8: glUniform4uiv
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
public static void glUniform4uiv(int location, Uint32Array value)
{
checkContextCompatibility();
nglUniform4uiv(WebGLObjectMap.get().toUniform(location), value);
}
示例9: nglClearBufferuiv
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
private static native void nglClearBufferuiv(int buffer, int drawbuffer, Uint32Array source) /*-{
$wnd.gl.clearBufferuiv(buffer, drawbuffer, source);
}-*/;
示例10: nglDrawBuffers
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
private static native void nglDrawBuffers(Uint32Array buffers) /*-{
$wnd.gl.drawBuffers(buffers);
}-*/;
示例11: nglGetActiveUniforms
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
private static native Int32Array nglGetActiveUniforms(JavaScriptObject program, Uint32Array uniformIndices, int pname) /*-{
return $wnd.gl.getActiveUniforms(program, uniformIndices, pname);
}-*/;
示例12: nglGetUniformIndices
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
private static native Uint32Array nglGetUniformIndices(JavaScriptObject program, JsArrayString uniformNames) /*-{
return $wnd.gl.getUniformIndices(program, uniformNames);
}-*/;
示例13: nglUniform1uiv
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
private static native void nglUniform1uiv(JavaScriptObject location, Uint32Array value) /*-{
$wnd.gl.uniform1uiv(location, value);
}-*/;
示例14: nglUniform2uiv
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
private static native void nglUniform2uiv(JavaScriptObject location, Uint32Array value) /*-{
$wnd.gl.uniform2uiv(location, value);
}-*/;
示例15: nglUniform3uiv
import com.google.gwt.typedarrays.shared.Uint32Array; //导入依赖的package包/类
private static native void nglUniform3uiv(JavaScriptObject location, Uint32Array value) /*-{
$wnd.gl.uniform3uiv(location, value);
}-*/;