com.oculusvr.capi.Texture 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 Texture extends Structure {
static final boolean is64Bit;
static {
is64Bit = "64".equalsIgnoreCase(System.getProperty("sun.arch.data.model"));
}
/** C type : ovrTextureHeader */
public TextureHeader Header;
/** C type : uintptr_t[8] */
public int TextureId;
public final int Padding[] = new int[15];
public Texture() {
super();
}
@Override
protected List> getFieldOrder() {
return Arrays.asList("Header", "TextureId", "Padding");
}
/**
* @param Header
* C type : ovrTextureHeader
* @param PlatformData
* C type : uintptr_t[8]
*/
public Texture(TextureHeader Header, int TextureId) {
super();
this.Header = Header;
this.TextureId = TextureId;
}
public Texture(Pointer peer) {
super(peer);
}
public static class ByReference extends Texture implements Structure.ByReference {
};
public static class ByValue extends Texture implements Structure.ByValue {
};
}