Vulkan-Docs/doc/specs/vulkan/man/vkCreatePipelineCache.txt

47 lines
1.1 KiB
Plaintext

vkCreatePipelineCache(3)
========================
Name
----
vkCreatePipelineCache - Creates a new pipeline cache
C Specification
---------------
include::../protos/vkCreatePipelineCache.txt[]
Parameters
----------
pname:device::
A handle to the device that will create the pipeline cache.
pname:pCreateInfo::
A pointer to a sname:VkPipelineCacheCreateInfo object describing the pipeline cache to be created.
pname:pPipelineCache::
A pointer that will receive the handle to the newly created pipeline cache.
Description
-----------
include::../structs/VkPipelineCacheCreateInfo.txt[]
.Create Info Details
- pname:initialDataSize is the size of the initial data to populate the cache.
- pname:pInitialData is a pointer to the initial data to populate the cache.
- pname:maxSize specifies an upper bound on the size the cache will grow to,
with -1 indicating that the cache may grow without bound.
include::../validity/protos/vkCreatePipelineCache.txt[]
See Also
--------
flink:vkCreateGraphicsPipelines, flink:vkCreateComputePipelines, flink:vkGetPipelineCacheData, flink:vkMergePipelineCaches
include::footer.txt[]