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

com.oculusvr.capi.TextureHeader 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 TextureHeader extends Structure { /** * @see ovrRenderAPIType
* C type : ovrRenderAPIType */ public int API = OvrLibrary.ovrRenderAPIType.ovrRenderAPI_OpenGL;; /** C type : ovrSizei */ public OvrSizei TextureSize; /** * Pixel viewport in texture that holds eye image.
* C type : ovrRecti */ public OvrRecti RenderViewport; public TextureHeader() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("API", "TextureSize", "RenderViewport"); } /** * @param API * @see ovrRenderAPIType
* C type : ovrRenderAPIType
* @param TextureSize * C type : ovrSizei
* @param RenderViewport * Pixel viewport in texture that holds eye image.
* C type : ovrRecti */ public TextureHeader(OvrSizei TextureSize, OvrRecti RenderViewport) { super(); this.TextureSize = TextureSize; this.RenderViewport = RenderViewport; } public TextureHeader(Pointer peer) { super(peer); } public static class ByReference extends TextureHeader implements Structure.ByReference { }; public static class ByValue extends TextureHeader implements Structure.ByValue { }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy