Class VkExternalFenceProperties

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
    Direct Known Subclasses:
    VkExternalFencePropertiesKHR

    public class VkExternalFenceProperties
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure describing supported external fence handle features.
    Description

    If handleType is not supported by the implementation, then VkExternalFenceProperties::externalFenceFeatures will be set to zero.

    Valid Usage (Implicit)
    See Also

    GetPhysicalDeviceExternalFenceProperties, GetPhysicalDeviceExternalFencePropertiesKHR

    Member documentation

    • exportFromImportedHandleTypes – a bitmask of VkExternalFenceHandleTypeFlagBits indicating which types of imported handle handleType can be exported from.
    • compatibleHandleTypes – a bitmask of VkExternalFenceHandleTypeFlagBits specifying handle types which can be specified at the same time as handleType when creating a fence.
    • externalFenceFeatures – a bitmask of VkExternalFenceFeatureFlagBits indicating the features of handleType.

    Layout

    
     struct VkExternalFenceProperties {
         VkStructureType sType;
         void * pNext;
         VkExternalFenceHandleTypeFlags exportFromImportedHandleTypes;
         VkExternalFenceHandleTypeFlags compatibleHandleTypes;
         VkExternalFenceFeatureFlags externalFenceFeatures;
     }
    • 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()
        Returns the value of the exportFromImportedHandleTypes field.
      • compatibleHandleTypes

        public int compatibleHandleTypes()
        Returns the value of the compatibleHandleTypes field.
      • externalFenceFeatures

        public int externalFenceFeatures()
        Returns the value of the externalFenceFeatures field.
      • 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.
      • mallocStack

        public static VkExternalFenceProperties mallocStack()
        Returns a new VkExternalFenceProperties instance allocated on the thread-local MemoryStack.
      • callocStack

        public static VkExternalFenceProperties callocStack()
        Returns a new VkExternalFenceProperties instance allocated on the thread-local MemoryStack and initializes all its bits to zero.
      • mallocStack

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

        public static VkExternalFenceProperties callocStack​(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
      • callocStack

        public static VkExternalFenceProperties.Buffer callocStack​(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.