本文整理匯總了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);
}-*/;