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

com.oculusvr.capi.EyeRenderDesc 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.oculusvr.capi.OvrLibrary.ovrEyeType;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;

/**
 * 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 EyeRenderDesc extends Structure { /** @see ovrEyeType */ public int Eye; public FovPort Fov; /** Distortion viewport. */ public OvrRecti DistortedViewport; /** How many display pixels will fit in tan(angle) = 1. */ public OvrVector2f PixelsPerTanAngleAtCenter; /** Translation to be applied to view matrix. */ public OvrVector3f ViewAdjust; public EyeRenderDesc() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("Eye", "Fov", "DistortedViewport", "PixelsPerTanAngleAtCenter", "ViewAdjust"); } public EyeRenderDesc(int Eye, FovPort Fov, OvrRecti DistortedViewport, OvrVector2f PixelsPerTanAngleAtCenter, OvrVector3f ViewAdjust) { super(); this.Eye = Eye; this.Fov = Fov; this.DistortedViewport = DistortedViewport; this.PixelsPerTanAngleAtCenter = PixelsPerTanAngleAtCenter; this.ViewAdjust = ViewAdjust; } public EyeRenderDesc(Pointer peer) { super(peer); } public static class ByReference extends EyeRenderDesc implements Structure.ByReference { }; public static class ByValue extends EyeRenderDesc implements Structure.ByValue { }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy