VKPIPELINECACHECREAT(3)

NAME
VkPipelineCacheCreateInfo - Structure specifying parameters of a newly created pipeline cache

C SPECIFICATION

The VkPipelineCacheCreateInfo structure is defined as:

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

MEMBERS

    • sType is the type of this structure.

    • pNext is NULL or a pointer to an extension-specific structure.

    • flags is reserved for future use.

    • initialDataSize is the number of bytes in pInitialData. If initialDataSize is zero, the pipeline cache will initially be empty.

    • pInitialData is 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.

DESCRIPTION

VALID USAGE

    • sType must be VK_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 vkGetPipelineCacheData when pInitialData was originally retrieved

    • If initialDataSize is not 0, pInitialData must have been retrieved from a previous call to vkGetPipelineCacheData

SEE ALSO

VkPipelineCacheCreateFlags, VkStructureType, vkCreatePipelineCache

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkPipelineCacheCreateInfo

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly.

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.