com.jme3.system.jopenvr.RenderModel_t Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-vr Show documentation
Show all versions of jme3-vr Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
package com.jme3.system.jopenvr;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import com.sun.jna.ptr.ShortByReference;
import java.util.Arrays;
import java.util.List;
/**
* native declaration : headers\openvr_capi.h:1578
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA.
*/
public class RenderModel_t extends Structure {
/**
* const struct vr::RenderModel_Vertex_t *
* C type : RenderModel_Vertex_t*
*/
public com.jme3.system.jopenvr.RenderModel_Vertex_t.ByReference rVertexData;
public int unVertexCount;
/**
* const uint16_t *
* C type : uint16_t*
*/
public ShortByReference rIndexData;
public int unTriangleCount;
/** C type : TextureID_t */
public int diffuseTextureId;
public RenderModel_t() {
super();
}
@Override
protected List getFieldOrder() {
return Arrays.asList("rVertexData", "unVertexCount", "rIndexData", "unTriangleCount", "diffuseTextureId");
}
/**
* @param rVertexData const struct vr::RenderModel_Vertex_t *
* C type : RenderModel_Vertex_t*
* @param rIndexData const uint16_t *
* C type : uint16_t*
* @param diffuseTextureId C type : TextureID_t
*/
public RenderModel_t(com.jme3.system.jopenvr.RenderModel_Vertex_t.ByReference rVertexData, int unVertexCount, ShortByReference rIndexData, int unTriangleCount, int diffuseTextureId) {
super();
this.rVertexData = rVertexData;
this.unVertexCount = unVertexCount;
this.rIndexData = rIndexData;
this.unTriangleCount = unTriangleCount;
this.diffuseTextureId = diffuseTextureId;
}
public RenderModel_t(Pointer peer) {
super(peer);
}
public static class ByReference extends RenderModel_t implements Structure.ByReference {
};
public static class ByValue extends RenderModel_t implements Structure.ByValue {
};
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy