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

org.lwjgl.openxr.DispatchableHandle 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
 */
package org.lwjgl.openxr;

import org.lwjgl.system.*;

/** Base class for OpenXR dispatchable handles. */
abstract class DispatchableHandle extends Pointer.Default {

    private final XRCapabilities capabilities;

    DispatchableHandle(long handle, XRCapabilities capabilities) {
        super(handle);
        this.capabilities = capabilities;
    }

    /** Returns the {@link XRCapabilities} instance associated with this dispatchable handle. */
    public XRCapabilities getCapabilities() {
        return capabilities;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy