Class VkValidationCacheCreateInfoEXT

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

    public class VkValidationCacheCreateInfoEXT
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying parameters of a newly created validation cache.
    Valid Usage
    • If initialDataSize is not 0, it must be equal to the size of pInitialData, as returned by vkGetValidationCacheDataEXT when pInitialData was originally retrieved
    • If initialDataSize is not 0, pInitialData must have been retrieved from a previous call to vkGetValidationCacheDataEXT
    Valid Usage (Implicit)
    See Also

    CreateValidationCacheEXT

    Layout

    
     struct VkValidationCacheCreateInfoEXT {
         VkStructureType sType();
         void const * pNext();
         VkValidationCacheCreateFlagsEXT flags();
         size_t initialDataSize();
         void const * pInitialData();
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, FLAGS, INITIALDATASIZE, PINITIALDATA

        The struct member offsets.
    • Constructor Detail

      • VkValidationCacheCreateInfoEXT

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