当前位置: 首页>>代码示例>>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;未经允许,请勿转载。