Class VkPipelineBinaryHandlesInfoKHR

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

public class VkPipelineBinaryHandlesInfoKHR extends org.lwjgl.system.Struct<VkPipelineBinaryHandlesInfoKHR> implements org.lwjgl.system.NativeResource
Structure containing newly created pipeline binaries.
Description

If pPipelineBinaries is NULL, the number of binaries that would be created is returned in pipelineBinaryCount. Otherwise, pipelineBinaryCount must be the number of entries in the pPipelineBinaries array, and on return from CreatePipelineBinariesKHR pipelineBinaryCount is overwritten with the number of handles actually written to pPipelineBinaries. If the value of pipelineBinaryCount is less than the number of binaries that would have been created, at most pipelineBinaryCount handles will be written to pPipelineBinaries and INCOMPLETE will be returned instead of SUCCESS, to indicate that pPipelineBinaries was not large enough to create all the binaries.

Valid Usage (Implicit)
  • sType must be STRUCTURE_TYPE_PIPELINE_BINARY_HANDLES_INFO_KHR
  • pNext must be NULL
  • If pipelineBinaryCount is not 0, and pPipelineBinaries is not NULL, pPipelineBinaries must be a valid pointer to an array of pipelineBinaryCount VkPipelineBinaryKHR handles
See Also

CreatePipelineBinariesKHR

Layout


 struct VkPipelineBinaryHandlesInfoKHR {
     VkStructureType sType();
     void const * pNext();
     uint32_t pipelineBinaryCount();
     VkPipelineBinaryKHR * pPipelineBinaries();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • PIPELINEBINARYCOUNT

      public static final int PIPELINEBINARYCOUNT
      The struct member offsets.
    • PPIPELINEBINARIES

      public static final int PPIPELINEBINARIES
      The struct member offsets.
  • Constructor Details

    • VkPipelineBinaryHandlesInfoKHR

      public VkPipelineBinaryHandlesInfoKHR(ByteBuffer container)
      Creates a VkPipelineBinaryHandlesInfoKHR instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details