Class VkPipelineBinaryCreateInfoKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPipelineBinaryCreateInfoKHR>
org.lwjgl.vulkan.VkPipelineBinaryCreateInfoKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkPipelineBinaryCreateInfoKHR extends org.lwjgl.system.Struct<VkPipelineBinaryCreateInfoKHR> implements org.lwjgl.system.NativeResource
Structure specifying where to retrieve data for pipeline binary creation.
Description

When pPipelineCreateInfo is not NULL, an implementation will attempt to retrieve pipeline binary data from an internal cache external to the application if pipelineBinaryInternalCache is TRUE. Applications can use this to determine if a pipeline can be created without compilation. If the implementation fails to create a pipeline binary due to missing an internal cache entry, PIPELINE_BINARY_MISSING_KHR is returned. If creation succeeds, the resulting binary can be used to create a pipeline. PIPELINE_BINARY_MISSING_KHR may be returned for any reason in this situation, even if creating a pipeline binary with the same parameters that succeeded earlier.

If pipelineBinaryPrecompiledInternalCache is TRUE, the implementation may be able to create pipeline binaries even when pPipelineCreateInfo has not been used to create binaries before by the application.

Note

On some platforms, internal pipeline caches may be pre-populated before running the application.

Valid Usage
Valid Usage (Implicit)
See Also

VkPipelineBinaryKeysAndDataKHR, VkPipelineCreateInfoKHR, CreatePipelineBinariesKHR

Layout


 struct VkPipelineBinaryCreateInfoKHR {
     VkStructureType sType();
     void const * pNext();
     VkPipelineBinaryKeysAndDataKHR const * pKeysAndDataInfo();
     VkPipeline pipeline();
     VkPipelineCreateInfoKHR const * pPipelineCreateInfo();
 }