Class VulkanLWJGLLogicalDevice
java.lang.Object
com.io7m.jcoronado.lwjgl.internal.VulkanLWJGLLogicalDevice
- All Implemented Interfaces:
VulkanHandleDispatchableType, VulkanHandleType, VulkanLogicalDeviceType, com.io7m.jmulticlose.core.CloseableType, AutoCloseable
LWJGL
VkDevice-
Nested Class Summary
Nested classes/interfaces inherited from interface VulkanLogicalDeviceType
VulkanLogicalDeviceType.VulkanEventStatus, VulkanLogicalDeviceType.VulkanFenceStatus, VulkanLogicalDeviceType.VulkanPipelineCacheDataResult, VulkanLogicalDeviceType.VulkanWaitStatus -
Method Summary
Modifier and TypeMethodDescriptionAllocate descriptor sets.Allocate device memory.voidbindBufferMemory(VulkanBufferType buffer, VulkanDeviceMemoryType device_memory, long offset) Bind device memory to a buffer object.voidbindImageMemory(VulkanImageType image, VulkanDeviceMemoryType device_memory, long offset) Bind device memory to a image object.protected final voidfinal voidclose()Destroy the object.protected voidCreate a binary semaphore.createBuffer(VulkanBufferCreateInfo create_info) Create a buffer.Create an buffer view.createCommandBuffers(VulkanCommandBufferCreateInfo create_info) Create a command buffer.createCommandPool(VulkanCommandPoolCreateInfo create_info) Create a command pool.createComputePipelines(Optional<VulkanPipelineCacheType> pipeline_cache, List<VulkanComputePipelineCreateInfo> pipeline_infos) Create a set of compute pipelines.Create a descriptor pool.Create a descriptor set layout.createEvent(VulkanEventCreateInfo create_info) Create an event.createFence(VulkanFenceCreateInfo createInfo) Create a fence.createFramebuffer(VulkanFramebufferCreateInfo create_info) Create a framebuffer.createGraphicsPipelines(Optional<VulkanPipelineCacheType> pipeline_cache, List<VulkanGraphicsPipelineCreateInfo> pipeline_infos) Create a set of graphics pipelines.createImage(VulkanImageCreateInfo create_info) Create an image.Create an image view.createPipelineCache(VulkanPipelineCacheCreateInfo create_info) Create a pipeline cache.Create a pipeline layout.createQueryPool(VulkanQueryPoolCreateInfo create_info) Create a query pool.createRenderPass(VulkanRenderPassCreateInfo render_pass_create_info) Create a render pass.createSampler(VulkanSamplerCreateInfo create_info) Create a sampler.createShaderModule(VulkanShaderModuleCreateInfo create_info) Create a shader module.Create a timeline semaphore.org.lwjgl.vulkan.VkDevicedevice()final booleanvoidFlush mapped memory ranges.Retrieve the device address for the given buffer.Retrieve the memory requirements for the given buffer.getEventStatus(VulkanEventType event) Retrieve the status of an event object.getFenceStatus(VulkanFenceType fence) Retrieve the status of a fence object.Retrieve the memory requirements for the given image.getImageSubresourceLayout(VulkanImageType image, VulkanImageSubresource image_subresource) Retrieve information about an image subresource.getPipelineCacheData(VulkanPipelineCacheType pipeline_cache, ByteBuffer data) Retrieve the data store for the pipeline cache.longgetPipelineCacheDataSize(VulkanPipelineCacheType pipeline_cache) Retrieve the size of the data store for the pipeline cache.longRetrieve the current value of a semaphore object.final longhandle()final inthashCode()final booleanisClosed()protected org.slf4j.Loggerlogger()mapMemory(VulkanDeviceMemoryType memory, long offset, long size, Set<VulkanMemoryMapFlag> flags) Map a memory object into the application address space.voidmergePipelineCaches(List<VulkanPipelineCacheType> caches, VulkanPipelineCacheType output) Combine the data stores of pipeline caches.queues()voidresetCommandPool(VulkanCommandPoolType pool, Set<VulkanCommandPoolResetFlag> flags) Reset the given command pool.voidReset the given descriptor pool.voidresetEvent(VulkanEventType event) Reset an event object to non-signaled state.voidresetFences(List<VulkanFenceType> fences) Reset the given fences.voidsetEvent(VulkanEventType event) Set an event object to signaled state.voidSet the object name for debugging.voidsignalTimelineSemaphore(VulkanSemaphoreTimelineType semaphore, long value) Signal a timeline semaphore.final StringtoString()voidupdateDescriptorSets(List<VulkanWriteDescriptorSet> descriptor_writes, List<VulkanCopyDescriptorSet> descriptor_copies) Update the contents of a descriptor set object.waitForFences(List<VulkanFenceType> fences, boolean wait_all, long timeout_nanos) Wait for one or more fences to become signaled.waitForTimelineSemaphores(List<VulkanSemaphoreTimelineWait> semaphores, boolean waitAll, long timeoutNanos) Wait for one or more semaphores to become signaled.voidwaitIdle()Wait for this device to become idle.Methods inherited from interface com.io7m.jmulticlose.core.CloseableType
isClosedMethods inherited from interface VulkanLogicalDeviceType
close, createBinarySemaphore, createCommandBuffer, createComputePipeline, createComputePipeline, createComputePipeline, createComputePipelines, createComputePipelines, createFence, createGraphicsPipeline, createGraphicsPipeline, createGraphicsPipeline, createGraphicsPipelines, createGraphicsPipelines, createTimelineSemaphore, findEnabledExtension, flushMappedMemoryRange, queue, resetCommandPool, resetDescriptorPool, waitForFence, waitForTimelineSemaphore
-
Method Details
-
device
public org.lwjgl.vulkan.VkDevice device()- Returns:
- The underlying device
-
debugging
- Specified by:
debuggingin interfaceVulkanLogicalDeviceType- Returns:
- A reference to a possibly no-op debugging interface
-
physicalDevice
- Specified by:
physicalDevicein interfaceVulkanLogicalDeviceType- Returns:
- The physical device to which this logical device belongs
-
queues
- Specified by:
queuesin interfaceVulkanLogicalDeviceType- Returns:
- The queues present on the logical device
- Throws:
VulkanDestroyedException
-
enabledExtensions
- Specified by:
enabledExtensionsin interfaceVulkanLogicalDeviceType- Returns:
- The enabled extensions for the instance
- Throws:
VulkanDestroyedException
-
createShaderModule
public VulkanShaderModuleType createShaderModule(VulkanShaderModuleCreateInfo create_info) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate a shader module.- Specified by:
createShaderModulein interfaceVulkanLogicalDeviceType- Parameters:
create_info- The creation info- Returns:
- A shader module
- Throws:
VulkanException- On errors
-
createSampler
Description copied from interface:VulkanLogicalDeviceTypeCreate a sampler.- Specified by:
createSamplerin interfaceVulkanLogicalDeviceType- Parameters:
create_info- The creation info- Returns:
- A sampler
- Throws:
VulkanException- On errors
-
createBufferView
public VulkanBufferViewType createBufferView(VulkanBufferViewCreateInfo info) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate an buffer view.- Specified by:
createBufferViewin interfaceVulkanLogicalDeviceType- Parameters:
info- The buffer view creation info- Returns:
- An buffer view
- Throws:
VulkanException- On errors
-
createImageView
Description copied from interface:VulkanLogicalDeviceTypeCreate an image view.- Specified by:
createImageViewin interfaceVulkanLogicalDeviceType- Parameters:
info- The image view creation info- Returns:
- An image view
- Throws:
VulkanException- On errors
-
flushMappedMemoryRanges
Description copied from interface:VulkanLogicalDeviceTypeFlush mapped memory ranges.- Specified by:
flushMappedMemoryRangesin interfaceVulkanLogicalDeviceType- Parameters:
ranges- The ranges- Throws:
VulkanException- On errors
-
createPipelineLayout
public VulkanPipelineLayoutType createPipelineLayout(VulkanPipelineLayoutCreateInfo info) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate a pipeline layout.- Specified by:
createPipelineLayoutin interfaceVulkanLogicalDeviceType- Parameters:
info- The pipeline layout creation info- Returns:
- A pipeline layout
- Throws:
VulkanException- On errors
-
createDescriptorSetLayout
public VulkanDescriptorSetLayoutType createDescriptorSetLayout(VulkanDescriptorSetLayoutCreateInfo info) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate a descriptor set layout.- Specified by:
createDescriptorSetLayoutin interfaceVulkanLogicalDeviceType- Parameters:
info- The descriptor set layout creation info- Returns:
- A descriptor set layout
- Throws:
VulkanException- On errors
-
createDescriptorPool
public VulkanDescriptorPoolType createDescriptorPool(VulkanDescriptorPoolCreateInfo info) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate a descriptor pool.- Specified by:
createDescriptorPoolin interfaceVulkanLogicalDeviceType- Parameters:
info- The descriptor pool creation info- Returns:
- A descriptor pool
- Throws:
VulkanException- On errors
-
allocateDescriptorSets
public List<VulkanDescriptorSetType> allocateDescriptorSets(VulkanDescriptorSetAllocateInfo info) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeAllocate descriptor sets.- Specified by:
allocateDescriptorSetsin interfaceVulkanLogicalDeviceType- Parameters:
info- The descriptor set allocation info- Returns:
- A list of descriptor sets
- Throws:
VulkanException- On errors
-
updateDescriptorSets
public void updateDescriptorSets(List<VulkanWriteDescriptorSet> descriptor_writes, List<VulkanCopyDescriptorSet> descriptor_copies) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeUpdate the contents of a descriptor set object.- Specified by:
updateDescriptorSetsin interfaceVulkanLogicalDeviceType- Parameters:
descriptor_writes- An array of VulkanWriteDescriptorSet structures describing the descriptor sets to write todescriptor_copies- An array of VulkanCopyDescriptorSet structures describing the descriptor sets to copy between.- Throws:
VulkanException- On errors
-
createRenderPass
public VulkanRenderPassType createRenderPass(VulkanRenderPassCreateInfo render_pass_create_info) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate a render pass.- Specified by:
createRenderPassin interfaceVulkanLogicalDeviceType- Parameters:
render_pass_create_info- The render pass creation info- Returns:
- A render pass
- Throws:
VulkanException- On errors
-
createPipelineCache
public VulkanPipelineCacheType createPipelineCache(VulkanPipelineCacheCreateInfo create_info) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate a pipeline cache.- Specified by:
createPipelineCachein interfaceVulkanLogicalDeviceType- Parameters:
create_info- The pipeline cache creation info- Returns:
- A pipeline cache
- Throws:
VulkanException- On errors
-
getPipelineCacheDataSize
Description copied from interface:VulkanLogicalDeviceTypeRetrieve the size of the data store for the pipeline cache.- Specified by:
getPipelineCacheDataSizein interfaceVulkanLogicalDeviceType- Parameters:
pipeline_cache- The pipeline cache- Returns:
- The size of the pipeline cache data
- Throws:
VulkanException- On errors
-
getImageMemoryRequirements
public VulkanMemoryRequirements getImageMemoryRequirements(VulkanImageType image) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeRetrieve the memory requirements for the given image.- Specified by:
getImageMemoryRequirementsin interfaceVulkanLogicalDeviceType- Parameters:
image- The image- Returns:
- The memory requirements
- Throws:
VulkanException- On errors
-
getPipelineCacheData
public VulkanLogicalDeviceType.VulkanPipelineCacheDataResult getPipelineCacheData(VulkanPipelineCacheType pipeline_cache, ByteBuffer data) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeRetrieve the data store for the pipeline cache.- Specified by:
getPipelineCacheDatain interfaceVulkanLogicalDeviceType- Parameters:
pipeline_cache- The pipeline cachedata- The buffer used to store the data- Returns:
- A value indicating the result of the retrieval
- Throws:
VulkanException- On errors- See Also:
-
createGraphicsPipelines
public List<VulkanPipelineType> createGraphicsPipelines(Optional<VulkanPipelineCacheType> pipeline_cache, List<VulkanGraphicsPipelineCreateInfo> pipeline_infos) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate a set of graphics pipelines.- Specified by:
createGraphicsPipelinesin interfaceVulkanLogicalDeviceType- Parameters:
pipeline_cache- A pipeline cachepipeline_infos- The pipeline creation infos- Returns:
- A list of graphics pipelines
- Throws:
VulkanException- On errors
-
createQueryPool
public VulkanQueryPoolType createQueryPool(VulkanQueryPoolCreateInfo create_info) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate a query pool.- Specified by:
createQueryPoolin interfaceVulkanLogicalDeviceType- Parameters:
create_info- The query pool creation info- Returns:
- A query pool
- Throws:
VulkanException- On errors
-
createFramebuffer
public VulkanFramebufferType createFramebuffer(VulkanFramebufferCreateInfo create_info) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate a framebuffer.- Specified by:
createFramebufferin interfaceVulkanLogicalDeviceType- Parameters:
create_info- The framebuffer creation info- Returns:
- A pipeline
- Throws:
VulkanException- On errors
-
createCommandPool
public VulkanCommandPoolType createCommandPool(VulkanCommandPoolCreateInfo create_info) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate a command pool.- Specified by:
createCommandPoolin interfaceVulkanLogicalDeviceType- Parameters:
create_info- The pool creation info- Returns:
- A command pool
- Throws:
VulkanException- On errors
-
createCommandBuffers
public List<VulkanCommandBufferType> createCommandBuffers(VulkanCommandBufferCreateInfo create_info) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate a command buffer.- Specified by:
createCommandBuffersin interfaceVulkanLogicalDeviceType- Parameters:
create_info- The command buffer creation info- Returns:
- A list of command buffers
- Throws:
VulkanException- On errors
-
createBinarySemaphore
public VulkanSemaphoreBinaryType createBinarySemaphore(VulkanSemaphoreBinaryCreateInfo info) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate a binary semaphore.- Specified by:
createBinarySemaphorein interfaceVulkanLogicalDeviceType- Parameters:
info- The semaphore creation info- Returns:
- A semaphore
- Throws:
VulkanException- On errors
-
createTimelineSemaphore
public VulkanSemaphoreTimelineType createTimelineSemaphore(VulkanSemaphoreTimelineCreateInfo info) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate a timeline semaphore.- Specified by:
createTimelineSemaphorein interfaceVulkanLogicalDeviceType- Parameters:
info- The semaphore creation info- Returns:
- A semaphore
- Throws:
VulkanException- On errors
-
createFence
Description copied from interface:VulkanLogicalDeviceTypeCreate a fence.- Specified by:
createFencein interfaceVulkanLogicalDeviceType- Parameters:
createInfo- The fence creation info- Returns:
- A fence
- Throws:
VulkanException- On errors
-
createEvent
Description copied from interface:VulkanLogicalDeviceTypeCreate an event.- Specified by:
createEventin interfaceVulkanLogicalDeviceType- Parameters:
create_info- The event creation info- Returns:
- An event
- Throws:
VulkanException- On errors
-
resetFences
Description copied from interface:VulkanLogicalDeviceTypeReset the given fences.- Specified by:
resetFencesin interfaceVulkanLogicalDeviceType- Parameters:
fences- The fences- Throws:
VulkanException- On errors
-
resetCommandPool
public void resetCommandPool(VulkanCommandPoolType pool, Set<VulkanCommandPoolResetFlag> flags) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeReset the given command pool.- Specified by:
resetCommandPoolin interfaceVulkanLogicalDeviceType- Parameters:
pool- The command poolflags- The reset flags- Throws:
VulkanException- On errors
-
resetDescriptorPool
public void resetDescriptorPool(VulkanDescriptorPoolType pool, Set<VulkanDescriptorPoolResetFlag> flags) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeReset the given descriptor pool.- Specified by:
resetDescriptorPoolin interfaceVulkanLogicalDeviceType- Parameters:
pool- The descriptor poolflags- The reset flags- Throws:
VulkanException- On errors
-
waitIdle
Description copied from interface:VulkanLogicalDeviceTypeWait for this device to become idle.- Specified by:
waitIdlein interfaceVulkanLogicalDeviceType- Throws:
VulkanException- On errors
-
waitForFences
public VulkanLogicalDeviceType.VulkanWaitStatus waitForFences(List<VulkanFenceType> fences, boolean wait_all, long timeout_nanos) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeWait for one or more fences to become signaled.- Specified by:
waitForFencesin interfaceVulkanLogicalDeviceType- Parameters:
fences- The fences upon which to waitwait_all-trueif all fences must become signalled to stop waiting,falseif any fence can become signalledtimeout_nanos- The timeout period in units of nanoseconds.- Returns:
- A value indicating whether waiting succeeded or timed out
- Throws:
VulkanException- On errors
-
createBuffer
Description copied from interface:VulkanLogicalDeviceTypeCreate a buffer.- Specified by:
createBufferin interfaceVulkanLogicalDeviceType- Parameters:
create_info- The buffer creation info- Returns:
- A buffer
- Throws:
VulkanException- On errors
-
createImage
Description copied from interface:VulkanLogicalDeviceTypeCreate an image.- Specified by:
createImagein interfaceVulkanLogicalDeviceType- Parameters:
create_info- The image creation info- Returns:
- A image
- Throws:
VulkanException- On errors
-
getBufferMemoryRequirements
public VulkanMemoryRequirements getBufferMemoryRequirements(VulkanBufferType buffer) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeRetrieve the memory requirements for the given buffer.- Specified by:
getBufferMemoryRequirementsin interfaceVulkanLogicalDeviceType- Parameters:
buffer- The buffer- Returns:
- The memory requirements
- Throws:
VulkanException- On errors
-
getBufferDeviceAddress
Description copied from interface:VulkanLogicalDeviceTypeRetrieve the device address for the given buffer.- Specified by:
getBufferDeviceAddressin interfaceVulkanLogicalDeviceType- Parameters:
buffer- The buffer- Returns:
- The address
- Throws:
VulkanException- On errors
-
allocateMemory
Description copied from interface:VulkanLogicalDeviceTypeAllocate device memory.- Specified by:
allocateMemoryin interfaceVulkanLogicalDeviceType- Parameters:
info- The allocation info- Returns:
- Allocated memory
- Throws:
VulkanException- On errors
-
bindBufferMemory
public void bindBufferMemory(VulkanBufferType buffer, VulkanDeviceMemoryType device_memory, long offset) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeBind device memory to a buffer object.- Specified by:
bindBufferMemoryin interfaceVulkanLogicalDeviceType- Parameters:
buffer- The logical device that owns the buffer and memorydevice_memory- The device memory to attachoffset- The start offset of the region of memory which is to be bound to the buffer. The number of bytes returned in the VkMemoryRequirements::size member in memory, starting from memoryOffset bytes, will be bound to the specified buffer.- Throws:
VulkanException- On errors
-
bindImageMemory
public void bindImageMemory(VulkanImageType image, VulkanDeviceMemoryType device_memory, long offset) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeBind device memory to a image object.- Specified by:
bindImageMemoryin interfaceVulkanLogicalDeviceType- Parameters:
image- The logical device that owns the image and memorydevice_memory- The device memory to attachoffset- The start offset of the region of memory which is to be bound to the image. The number of bytes returned in the VkMemoryRequirements::size member in memory, starting from memoryOffset bytes, will be bound to the specified image.- Throws:
VulkanException- On errors
-
mapMemory
public VulkanMappedMemoryType mapMemory(VulkanDeviceMemoryType memory, long offset, long size, Set<VulkanMemoryMapFlag> flags) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeMap a memory object into the application address space.- Specified by:
mapMemoryin interfaceVulkanLogicalDeviceType- Parameters:
memory- The device memory object to be mappedoffset- A zero-based byte offset from the beginning of the memory objectsize- The size of the memory range to map, or VK_WHOLE_SIZE to map from offset to the end of the allocationflags- The flags- Returns:
- Mapped memory
- Throws:
VulkanException- On errors
-
mergePipelineCaches
public void mergePipelineCaches(List<VulkanPipelineCacheType> caches, VulkanPipelineCacheType output) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCombine the data stores of pipeline caches.- Specified by:
mergePipelineCachesin interfaceVulkanLogicalDeviceType- Parameters:
caches- The input cachesoutput- The output cache- Throws:
VulkanException- On errors
-
setEvent
Description copied from interface:VulkanLogicalDeviceTypeSet an event object to signaled state.- Specified by:
setEventin interfaceVulkanLogicalDeviceType- Parameters:
event- The event- Throws:
VulkanException- On errors
-
resetEvent
Description copied from interface:VulkanLogicalDeviceTypeReset an event object to non-signaled state.- Specified by:
resetEventin interfaceVulkanLogicalDeviceType- Parameters:
event- The event- Throws:
VulkanException- On errors
-
getEventStatus
public VulkanLogicalDeviceType.VulkanEventStatus getEventStatus(VulkanEventType event) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeRetrieve the status of an event object.- Specified by:
getEventStatusin interfaceVulkanLogicalDeviceType- Parameters:
event- The event- Returns:
- The event status
- Throws:
VulkanException- On errors
-
getSemaphoreCounterValue
Description copied from interface:VulkanLogicalDeviceTypeRetrieve the current value of a semaphore object.- Specified by:
getSemaphoreCounterValuein interfaceVulkanLogicalDeviceType- Parameters:
semaphore- The semaphore- Returns:
- The semaphore value
- Throws:
VulkanException- On errors
-
getFenceStatus
public VulkanLogicalDeviceType.VulkanFenceStatus getFenceStatus(VulkanFenceType fence) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeRetrieve the status of a fence object.- Specified by:
getFenceStatusin interfaceVulkanLogicalDeviceType- Parameters:
fence- The fence- Returns:
- The fence status
- Throws:
VulkanException- On errors
-
getImageSubresourceLayout
public VulkanSubresourceLayout getImageSubresourceLayout(VulkanImageType image, VulkanImageSubresource image_subresource) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeRetrieve information about an image subresource.- Specified by:
getImageSubresourceLayoutin interfaceVulkanLogicalDeviceType- Parameters:
image- The imageimage_subresource- A structure selecting a specific image for the image subresource- Returns:
- The subresource layout
- Throws:
VulkanException- On errors
-
createComputePipelines
public List<VulkanPipelineType> createComputePipelines(Optional<VulkanPipelineCacheType> pipeline_cache, List<VulkanComputePipelineCreateInfo> pipeline_infos) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeCreate a set of compute pipelines.- Specified by:
createComputePipelinesin interfaceVulkanLogicalDeviceType- Parameters:
pipeline_cache- A pipeline cachepipeline_infos- The pipeline creation infos- Returns:
- A list of compute pipelines
- Throws:
VulkanException- On errors
-
waitForTimelineSemaphores
public VulkanLogicalDeviceType.VulkanWaitStatus waitForTimelineSemaphores(List<VulkanSemaphoreTimelineWait> semaphores, boolean waitAll, long timeoutNanos) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeWait for one or more semaphores to become signaled.- Specified by:
waitForTimelineSemaphoresin interfaceVulkanLogicalDeviceType- Parameters:
semaphores- The semaphores upon which to waitwaitAll-trueif all semaphores must become signalled to stop waiting,falseif any semaphore can become signalledtimeoutNanos- The timeout period in units of nanoseconds.- Returns:
- A value indicating whether waiting succeeded or timed out
- Throws:
VulkanException- On errors
-
signalTimelineSemaphore
public void signalTimelineSemaphore(VulkanSemaphoreTimelineType semaphore, long value) throws VulkanException Description copied from interface:VulkanLogicalDeviceTypeSignal a timeline semaphore.- Specified by:
signalTimelineSemaphorein interfaceVulkanLogicalDeviceType- Parameters:
semaphore- The semaphorevalue- The value- Throws:
VulkanException- On errors
-
logger
protected org.slf4j.Logger logger() -
closeActual
protected void closeActual() -
hostAllocatorProxy
- Returns:
- The underlying host allocator proxy
-
isClosed
public final boolean isClosed()- Specified by:
isClosedin interfacecom.io7m.jmulticlose.core.CloseableType
-
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
-