Class VkD3D12FenceSubmitInfoKHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkD3D12FenceSubmitInfoKHR
    extends Struct
    implements NativeResource
    Structure specifying values for Direct3D 12 fence-backed semaphores.
    Description

    If the semaphore in VkSubmitInfo::pWaitSemaphores or VkSubmitInfo::pSignalSemaphores corresponding to an entry in pWaitSemaphoreValues or pSignalSemaphoreValues respectively does not currently have a payload referring to a Direct3D 12 fence, the implementation must ignore the value in the pWaitSemaphoreValues or pSignalSemaphoreValues entry.

    Valid Usage
    Valid Usage (Implicit)
    • sType must be STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR
    • If waitSemaphoreValuesCount is not 0, and pWaitSemaphoreValues is not NULL, pWaitSemaphoreValues must be a valid pointer to an array of waitSemaphoreValuesCount uint64_t values
    • If signalSemaphoreValuesCount is not 0, and pSignalSemaphoreValues is not NULL, pSignalSemaphoreValues must be a valid pointer to an array of signalSemaphoreValuesCount uint64_t values

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • waitSemaphoreValuesCount – the number of semaphore wait values specified in pWaitSemaphoreValues.
    • pWaitSemaphoreValues – an array of length waitSemaphoreValuesCount containing values for the corresponding semaphores in VkSubmitInfo::pWaitSemaphores to wait for.
    • signalSemaphoreValuesCount – the number of semaphore signal values specified in pSignalSemaphoreValues.
    • pSignalSemaphoreValues – an array of length signalSemaphoreValuesCount containing values for the corresponding semaphores in VkSubmitInfo::pSignalSemaphores to set when signaled.

    Layout

    
     struct VkD3D12FenceSubmitInfoKHR {
         VkStructureType sType;
         void const * pNext;
         uint32_t waitSemaphoreValuesCount;
         uint64_t const * pWaitSemaphoreValues;
         uint32_t signalSemaphoreValuesCount;
         uint64_t const * pSignalSemaphoreValues;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, WAITSEMAPHOREVALUESCOUNT, PWAITSEMAPHOREVALUES, SIGNALSEMAPHOREVALUESCOUNT, PSIGNALSEMAPHOREVALUES

        The struct member offsets.
    • Constructor Detail

      • VkD3D12FenceSubmitInfoKHR

        public VkD3D12FenceSubmitInfoKHR​(java.nio.ByteBuffer container)
        Creates a VkD3D12FenceSubmitInfoKHR instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.