Class VkExternalMemoryProperties

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • EXTERNALMEMORYFEATURES, EXPORTFROMIMPORTEDHANDLETYPES, COMPATIBLEHANDLETYPES

        The struct member offsets.
    • Constructor Detail

      • VkExternalMemoryProperties

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

        public int externalMemoryFeatures()
        a bitmask of VkExternalMemoryFeatureFlagBits specifying the features of handleType.
      • exportFromImportedHandleTypes

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

        public int compatibleHandleTypes()
        a bitmask of VkExternalMemoryHandleTypeFlagBits specifying handle types which can be specified at the same time as handleType when creating an image compatible with external memory.
      • create

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

        public static int nexternalMemoryFeatures​(long struct)
        Unsafe version of externalMemoryFeatures().
      • ncompatibleHandleTypes

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