- java.lang.Object
-
- com.io7m.jcoronado.lwjgl.VulkanLWJGLImage
-
- All Implemented Interfaces:
VulkanHandleNonDispatchableType
,VulkanHandleType
,VulkanImageType
,java.lang.AutoCloseable
public final class VulkanLWJGLImage extends java.lang.Object implements VulkanImageType
LWJGLVulkanImageType
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkNotClosed()
void
close()
Destroy the object.protected void
closeActual()
boolean
equals(java.lang.Object o)
long
handle()
int
hashCode()
protected VulkanLWJGLHostAllocatorProxy
hostAllocatorProxy()
boolean
isClosed()
protected org.slf4j.Logger
logger()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.io7m.jcoronado.api.VulkanHandleType
isClosed
-
Methods inherited from interface com.io7m.jcoronado.api.VulkanImageType
close
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
logger
protected org.slf4j.Logger logger()
-
closeActual
protected void closeActual()
-
handle
public long handle()
- Returns:
- The underlying Vulkan handle
-
hostAllocatorProxy
protected final VulkanLWJGLHostAllocatorProxy hostAllocatorProxy()
-
isClosed
public final boolean isClosed()
- Specified by:
isClosed
in interfaceVulkanHandleType
- Returns:
true
iff the handle has been destroyed withVulkanHandleType.close()
- See Also:
VulkanHandleType.close()
-
close
public final void close()
Description copied from interface:VulkanHandleType
Destroy the object.- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfaceVulkanHandleType
-
checkNotClosed
protected final void checkNotClosed() throws VulkanDestroyedException
- Throws:
VulkanDestroyedException
-
-