com.oculusvr.capi.RenderAPIConfigHeader 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 RenderAPIConfigHeader extends Structure {
/**
* @see ovrRenderAPIType
* C type : ovrRenderAPIType
*/
public int API = OvrLibrary.ovrRenderAPIType.ovrRenderAPI_OpenGL;
/** C type : ovrSizei */
public OvrSizei RTSize;
public int Multisample;
public RenderAPIConfigHeader() {
super();
}
@Override
protected List> getFieldOrder() {
return Arrays.asList("API", "RTSize", "Multisample");
}
/**
* @param API
* @see ovrRenderAPIType
* C type : ovrRenderAPIType
* @param RTSize
* C type : ovrSizei
*/
public RenderAPIConfigHeader(OvrSizei RTSize, int Multisample) {
super();
this.RTSize = RTSize;
this.Multisample = Multisample;
}
public RenderAPIConfigHeader(Pointer peer) {
super(peer);
}
public static class ByReference extends RenderAPIConfigHeader implements Structure.ByReference {
};
public static class ByValue extends RenderAPIConfigHeader implements Structure.ByValue {
};
}