Class VkPipelineCacheCreateInfo

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

    public class VkPipelineCacheCreateInfo
    extends Struct
    implements NativeResource
    Structure specifying parameters of a newly created pipeline cache.
    Valid Usage
    • If initialDataSize is not 0, it must be equal to the size of pInitialData, as returned by GetPipelineCacheData when pInitialData was originally retrieved
    • If initialDataSize is not 0, pInitialData must have been retrieved from a previous call to GetPipelineCacheData
    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 pipeline cache will initially be empty.
    • pInitialData – a pointer to previously retrieved pipeline cache data. If the pipeline cache data is incompatible (as defined below) with the device, the pipeline cache will be initially empty. If initialDataSize is zero, pInitialData is ignored.


     struct VkPipelineCacheCreateInfo {
         VkStructureType sType;
         void const * pNext;
         VkPipelineCacheCreateFlags flags;
         size_t initialDataSize;
         void const * pInitialData;