All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oculusvr.capi.RenderAPIConfig Maven / Gradle / Ivy

There is a newer version: 1.8.0.0
Show newest version
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 RenderAPIConfig extends Structure { /** C type : ovrRenderAPIConfigHeader */ public RenderAPIConfigHeader Header; /** C type : uintptr_t[8] */ public final int PlatformData[] = new int[15]; public RenderAPIConfig() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("Header", "PlatformData"); } /** * @param Header * C type : ovrRenderAPIConfigHeader
* @param PlatformData * C type : uintptr_t[8] */ public RenderAPIConfig(RenderAPIConfigHeader Header, int PlatformData[]) { super(); this.Header = Header; if ((PlatformData.length != this.PlatformData.length)) throw new IllegalArgumentException("Wrong array size !"); for (int i = 0; i < this.PlatformData.length; ++i) { this.PlatformData[i] = PlatformData[i]; } } public RenderAPIConfig(Pointer peer) { super(peer); } public static class ByReference extends RenderAPIConfig implements Structure.ByReference { }; public static class ByValue extends RenderAPIConfig implements Structure.ByValue { }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy