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

org.lwjgl.openxr.XrSpace Maven / Gradle / Ivy

Go to download

A royalty-free, open standard that provides high-performance access to Augmented Reality (AR) and Virtual Reality (VR)—collectively known as XR—platforms and devices.

The newest version!
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.openxr;

/** Wraps an {@code XrSpace} handle. */
public class XrSpace extends DispatchableHandle {

    private final XrSession session;

    /**
     * Creates an {@code XrSpace} using the specified native handle and {@code XrSession}.
     *
     * @param handle  the native {@code XrSpace} handle
     * @param session the {@code XrSession} from which {@code handle} was created
     */
    public XrSpace(long handle, XrSession session) {
        super(handle, session.getCapabilities());
        this.session = session;
    }

    /** Returns the {@code XrSession} from which this handle was created. */
    public XrSession getSession() {
        return session;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy