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

org.lwjgl.vulkan.VkQueue Maven / Gradle / Ivy

Go to download

A new generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs used in a wide variety of devices from PCs and consoles to mobile phones and embedded platforms.

There is a newer version: 3.3.4
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 */
package org.lwjgl.vulkan;

/** Wraps a Vulkan queue handle. */
public class VkQueue extends DispatchableHandleDevice {

    private final VkDevice device;

    /**
     * Creates a {@code VkQueue} using the specified native handle and device.
     *
     * @param handle the native {@code VkQueue} handle
     * @param device the device from which the queue was retrieved
     */
    public VkQueue(long handle, VkDevice device) {
        super(handle, device.getCapabilities());
        this.device = device;
    }

    /** Returns the device from which this {@code VkQueue} was retrieved. */
    public VkDevice getDevice() {
        return device;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy