com.oculusvr.capi.DistortionMesh Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jovr Show documentation
Show all versions of jovr Show documentation
JNA bindings for the Oculus SDK C API
package com.oculusvr.capi;
import java.util.Arrays;
import java.util.List;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import com.sun.jna.ptr.ShortByReference;
/**
* 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 DistortionMesh extends Structure {
public com.oculusvr.capi.DistortionVertex.ByReference pVertexData;
public ShortByReference pIndexData;
public int VertexCount;
public int IndexCount;
public DistortionMesh() {
super();
}
@Override
protected List > getFieldOrder() {
return Arrays.asList("pVertexData", "pIndexData", "VertexCount", "IndexCount");
}
public DistortionMesh(com.oculusvr.capi.DistortionVertex.ByReference pVertexData, ShortByReference pIndexData, int VertexCount, int IndexCount) {
super();
this.pVertexData = pVertexData;
this.pIndexData = pIndexData;
this.VertexCount = VertexCount;
this.IndexCount = IndexCount;
}
public DistortionMesh(Pointer peer) {
super(peer);
}
public static class ByReference extends DistortionMesh implements Structure.ByReference {
};
public static class ByValue extends DistortionMesh implements Structure.ByValue {
};
}