org.lwjgl.vulkan.DispatchableHandleInstance Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-vulkan Show documentation
Show all versions of lwjgl-vulkan Show documentation
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.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
*/
package org.lwjgl.vulkan;
import org.lwjgl.system.*;
/** Base class for Vulkan dispatchable handles. */
abstract class DispatchableHandleInstance extends Pointer.Default {
private final VKCapabilitiesInstance capabilities;
DispatchableHandleInstance(long handle, VKCapabilitiesInstance capabilities) {
super(handle);
this.capabilities = capabilities;
}
/** Returns the {@link VKCapabilitiesInstance} instance associated with this dispatchable handle. */
public VKCapabilitiesInstance getCapabilities() {
return capabilities;
}
}