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 GetValidationCacheDataEXT when pInitialData was originally retrieved
    • If initialDataSize is not 0, pInitialData must have been retrieved from a previous call to GetValidationCacheDataEXT
    Valid Usage (Implicit)
    See Also

    CreateValidationCacheEXT

    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.

    Layout

    
     struct VkValidationCacheCreateInfoEXT {
         VkStructureType sType;
         void const * pNext;
         VkValidationCacheCreateFlagsEXT flags;
         size_t initialDataSize;
         void const * pInitialData;
     }