當前位置: 首頁>>代碼示例>>Java>>正文


Java Uint32Array類代碼示例

本文整理匯總了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);
}
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:10,代碼來源:WebGL20.java

示例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);
}
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:10,代碼來源:WebGL20.java

示例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);
}
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:6,代碼來源:WebGL20.java

示例4: glDrawBuffers

import com.google.gwt.typedarrays.shared.Uint32Array; //導入依賴的package包/類
public static void glDrawBuffers(Uint32Array buffers)
{
    checkContextCompatibility();
    nglDrawBuffers(buffers);
}
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:6,代碼來源:WebGL20.java

示例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);
}
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:6,代碼來源:WebGL20.java

示例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);
}
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:6,代碼來源:WebGL20.java

示例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);
}
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:6,代碼來源:WebGL20.java

示例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);
}
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:6,代碼來源:WebGL20.java

示例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);
}-*/;
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:4,代碼來源:WebGL20.java

示例10: nglDrawBuffers

import com.google.gwt.typedarrays.shared.Uint32Array; //導入依賴的package包/類
private static native void nglDrawBuffers(Uint32Array buffers) /*-{
    $wnd.gl.drawBuffers(buffers);
}-*/;
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:4,代碼來源:WebGL20.java

示例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);
}-*/;
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:4,代碼來源:WebGL20.java

示例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);
}-*/;
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:4,代碼來源:WebGL20.java

示例13: nglUniform1uiv

import com.google.gwt.typedarrays.shared.Uint32Array; //導入依賴的package包/類
private static native void nglUniform1uiv(JavaScriptObject location, Uint32Array value) /*-{
    $wnd.gl.uniform1uiv(location, value);
}-*/;
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:4,代碼來源:WebGL20.java

示例14: nglUniform2uiv

import com.google.gwt.typedarrays.shared.Uint32Array; //導入依賴的package包/類
private static native void nglUniform2uiv(JavaScriptObject location, Uint32Array value) /*-{
    $wnd.gl.uniform2uiv(location, value);
}-*/;
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:4,代碼來源:WebGL20.java

示例15: nglUniform3uiv

import com.google.gwt.typedarrays.shared.Uint32Array; //導入依賴的package包/類
private static native void nglUniform3uiv(JavaScriptObject location, Uint32Array value) /*-{
    $wnd.gl.uniform3uiv(location, value);
}-*/;
 
開發者ID:sriharshachilakapati,項目名稱:WebGL4J,代碼行數:4,代碼來源:WebGL20.java


注:本文中的com.google.gwt.typedarrays.shared.Uint32Array類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。