Class VFakeImage
java.lang.Object
com.io7m.jcoronado.fake.VFakeImage
- All Implemented Interfaces:
VulkanHandleNonDispatchableType, VulkanHandleType, VulkanImageType, com.io7m.jmulticlose.core.CloseableType, AutoCloseable
A fake image.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbindMemory(VulkanDeviceMemoryType inMemory, long inOffset) Bind device memory to the image.longvoidclose()Destroy the object.booleanisClosed()
-
Constructor Details
-
VFakeImage
A fake image.- Parameters:
inCreateInfo- The creation info
-
-
Method Details
-
createInfo
- Returns:
- The creation info
-
bindMemory
Bind device memory to the image.- Parameters:
inMemory- The memoryinOffset- The offset
-
boundMemory
- Returns:
- The bound device memory, if any
-
boundMemoryOffset
public long boundMemoryOffset()- Returns:
- The bound memory offset
-
close
public void close()Description copied from interface:VulkanHandleTypeDestroy the object.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceVulkanHandleType- Specified by:
closein interfaceVulkanImageType
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfacecom.io7m.jmulticlose.core.CloseableType
-