Class VulkanLWJGLBufferView
java.lang.Object
com.io7m.jcoronado.lwjgl.internal.VulkanLWJGLBufferView
- All Implemented Interfaces:
VulkanBufferViewType, VulkanHandleNonDispatchableType, VulkanHandleType, AutoCloseable
LWJGL
VulkanBufferViewType.-
Method Summary
Modifier and TypeMethodDescriptionbuffer()protected final voidfinal voidclose()Destroy the object.protected voidfinal booleanfinal longhandle()final inthashCode()final booleanisClosed()protected org.slf4j.Loggerlogger()voidSet the object name for debugging.final StringtoString()Methods inherited from interface VulkanBufferViewType
closeMethods inherited from interface VulkanHandleType
isClosed
-
Method Details
-
logger
protected org.slf4j.Logger logger() -
closeActual
protected void closeActual() -
buffer
- Specified by:
bufferin interfaceVulkanBufferViewType- Returns:
- The buffer to which this buffer view refers
-
hostAllocatorProxy
- Returns:
- The underlying host allocator proxy
-
isClosed
public final boolean isClosed()- Specified by:
isClosedin interfaceVulkanHandleType- Returns:
trueiff the handle has been destroyed withVulkanHandleType.close()- See Also:
-
close
public final void close()Description copied from interface:VulkanHandleTypeDestroy the object.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceVulkanHandleType
-
equals
-
hashCode
-
toString
-
handle
public final long handle()- Returns:
- The raw handle
-
checkNotClosed
- Throws:
VulkanDestroyedException
-
setName
-