com.oculusvr.capi.OvrRecti 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;
/**
* native declaration : /usr/include/stdint.h
* 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 OvrRecti extends Structure {
/** C type : ovrVector2i */
public OvrVector2i Pos;
/** C type : ovrSizei */
public OvrSizei Size;
public OvrRecti() {
super();
}
@Override
protected List> getFieldOrder() {
return Arrays.asList("Pos", "Size");
}
/**
* @param Pos
* C type : ovrVector2i
* @param Size
* C type : ovrSizei
*/
public OvrRecti(OvrVector2i Pos, OvrSizei Size) {
super();
this.Pos = Pos;
this.Size = Size;
}
public OvrRecti(Pointer peer) {
super(peer);
}
public static class ByReference extends OvrRecti implements Structure.ByReference {
};
public static class ByValue extends OvrRecti implements Structure.ByValue {
public ByValue() {
}
public ByValue(OvrRecti v) {
this.Pos = v.Pos;
this.Size = v.Size;
}
};
}