Class VkValidationCacheCreateInfoEXT

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

    public class VkValidationCacheCreateInfoEXT
    extends Struct
    implements 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


    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • flags – reserved for future use.
    • initialDataSize – the number of bytes in pInitialData. If initialDataSize is zero, the validation cache will initially be empty.
    • pInitialData – a pointer to previously retrieved validation cache data. If the validation cache data is incompatible (as defined below) with the device, the validation cache will be initially empty. If initialDataSize is zero, pInitialData is ignored.


     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.

        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.