Class VkExternalFenceProperties

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, EXPORTFROMIMPORTEDHANDLETYPES, COMPATIBLEHANDLETYPES, EXTERNALFENCEFEATURES

        The struct member offsets.
    • Constructor Detail

      • VkExternalFenceProperties

        public VkExternalFenceProperties​(java.nio.ByteBuffer container)
        Creates a VkExternalFenceProperties 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.

    • Method Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • sType

        public int sType()
        Returns:
        the value of the sType field.
      • pNext

        public long pNext()
        Returns:
        the value of the pNext field.
      • exportFromImportedHandleTypes

        public int exportFromImportedHandleTypes()
        a bitmask of VkExternalFenceHandleTypeFlagBits indicating which types of imported handle handleType can be exported from.
      • compatibleHandleTypes

        public int compatibleHandleTypes()
        a bitmask of VkExternalFenceHandleTypeFlagBits specifying handle types which can be specified at the same time as handleType when creating a fence.
      • externalFenceFeatures

        public int externalFenceFeatures()
        a bitmask of VkExternalFenceFeatureFlagBits indicating the features of handleType.
      • malloc

        public static VkExternalFenceProperties malloc()
        Returns a new VkExternalFenceProperties instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static VkExternalFenceProperties calloc()
        Returns a new VkExternalFenceProperties instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static VkExternalFenceProperties create()
        Returns a new VkExternalFenceProperties instance allocated with BufferUtils.
      • create

        public static VkExternalFenceProperties create​(long address)
        Returns a new VkExternalFenceProperties instance for the specified memory address.
      • malloc

        public static VkExternalFenceProperties malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkExternalFenceProperties instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static VkExternalFenceProperties calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkExternalFenceProperties instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static VkExternalFenceProperties.Buffer calloc​(int capacity,
                                                              org.lwjgl.system.MemoryStack stack)
        Returns a new VkExternalFenceProperties.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • nsType

        public static int nsType​(long struct)
        Unsafe version of sType().
      • npNext

        public static long npNext​(long struct)
        Unsafe version of pNext().
      • ncompatibleHandleTypes

        public static int ncompatibleHandleTypes​(long struct)
        Unsafe version of compatibleHandleTypes().
      • nexternalFenceFeatures

        public static int nexternalFenceFeatures​(long struct)
        Unsafe version of externalFenceFeatures().
      • nsType

        public static void nsType​(long struct,
                                  int value)
        Unsafe version of sType.
      • npNext

        public static void npNext​(long struct,
                                  long value)
        Unsafe version of pNext.