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

com.oculusvr.capi.DistortionVertex 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;

/**
 * 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 DistortionVertex extends Structure { /** [-1,+1],[-1,+1] over the entire framebuffer. */ public OvrVector2f ScreenPosNDC; /** Lerp factor between time-warp matrices. Can be encoded in Pos.z. */ public float TimeWarpFactor; /** Vignette fade factor. Can be encoded in Pos.w. */ public float VignetteFactor; public OvrVector2f TanEyeAnglesR; public OvrVector2f TanEyeAnglesG; public OvrVector2f TanEyeAnglesB; public DistortionVertex() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("ScreenPosNDC", "TimeWarpFactor", "VignetteFactor", "TanEyeAnglesR", "TanEyeAnglesG", "TanEyeAnglesB"); } public DistortionVertex(OvrVector2f ScreenPosNDC, float TimeWarpFactor, float VignetteFactor, OvrVector2f TanEyeAnglesR, OvrVector2f TanEyeAnglesG, OvrVector2f TanEyeAnglesB) { super(); this.ScreenPosNDC = ScreenPosNDC; this.TimeWarpFactor = TimeWarpFactor; this.VignetteFactor = VignetteFactor; this.TanEyeAnglesR = TanEyeAnglesR; this.TanEyeAnglesG = TanEyeAnglesG; this.TanEyeAnglesB = TanEyeAnglesB; } public DistortionVertex(Pointer peer) { super(peer); } public static class ByReference extends DistortionVertex implements Structure.ByReference { }; public static class ByValue extends DistortionVertex implements Structure.ByValue { }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy