Class VkPipelineCacheCreateInfo

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


    public class VkPipelineCacheCreateInfo
    extends Struct
    Khronos Reference Page
    Vulkan Specification

    Contains information about how a pipeline cache object should be created.

    Valid Usage
    • sType must be STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO
    • pNext must be NULL
    • flags must be 0
    • If initialDataSize is not 0, pInitialData must be a pointer to an array of initialDataSize bytes
    • 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

    Member documentation

    • sType – the type of this structure. Must be: STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO
    • pNext – reserved for use by extensions
    • flags – reserved for future use
    • initialDataSize – the number of bytes in pInitialData
    • pInitialData – a pointer to previously retrieved pipeline cache data

    Layout

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