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

com.oculusvr.capi.Texture 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 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 { }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy