Class VkPipelineInfoKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPipelineInfoKHR>
org.lwjgl.vulkan.VkPipelineInfoKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
VkPipelineInfoEXT

public class VkPipelineInfoKHR extends org.lwjgl.system.Struct<VkPipelineInfoKHR> implements org.lwjgl.system.NativeResource
Structure describing a pipeline.
Valid Usage (Implicit)
See Also

GetPipelineExecutablePropertiesKHR, GetPipelinePropertiesEXT

Layout


 struct VkPipelineInfoKHR {
     VkStructureType sType();
     void const * pNext();
     VkPipeline pipeline();
 }
  • 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.
    • PIPELINE

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

    • VkPipelineInfoKHR

      public VkPipelineInfoKHR(ByteBuffer container)
      Creates a VkPipelineInfoKHR 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

    • sizeof

      public int sizeof()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<VkPipelineInfoKHR>
    • sType

      public int sType()
      a VkStructureType value identifying this structure.
    • pNext

      public long pNext()
      NULL or a pointer to a structure extending this structure.
    • pipeline

      public long pipeline()
      a VkPipeline handle.
    • sType

      public VkPipelineInfoKHR sType(int value)
      Sets the specified value to the sType() field.
    • sType$Default

      public VkPipelineInfoKHR sType$Default()
      Sets the STRUCTURE_TYPE_PIPELINE_INFO_KHR value to the sType() field.
    • pNext

      public VkPipelineInfoKHR pNext(long value)
      Sets the specified value to the pNext() field.
    • pipeline

      public VkPipelineInfoKHR pipeline(long value)
      Sets the specified value to the pipeline() field.
    • set

      public VkPipelineInfoKHR set(int sType, long pNext, long pipeline)
      Initializes this struct with the specified values.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc

      public static VkPipelineInfoKHR malloc()
      Returns a new VkPipelineInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static VkPipelineInfoKHR calloc()
      Returns a new VkPipelineInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static VkPipelineInfoKHR create()
      Returns a new VkPipelineInfoKHR instance allocated with BufferUtils.
    • create

      public static VkPipelineInfoKHR create(long address)
      Returns a new VkPipelineInfoKHR instance for the specified memory address.
    • createSafe

      public static @Nullable VkPipelineInfoKHR createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkPipelineInfoKHR.Buffer malloc(int capacity)
      Returns a new VkPipelineInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static VkPipelineInfoKHR.Buffer calloc(int capacity)
      Returns a new VkPipelineInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkPipelineInfoKHR.Buffer create(int capacity)
      Returns a new VkPipelineInfoKHR.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkPipelineInfoKHR.Buffer create(long address, int capacity)
      Create a VkPipelineInfoKHR.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable VkPipelineInfoKHR.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • mallocStack

      @Deprecated public static VkPipelineInfoKHR mallocStack()
      Deprecated.
      Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.
    • callocStack

      @Deprecated public static VkPipelineInfoKHR callocStack()
      Deprecated.
      Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.
    • mallocStack

      @Deprecated public static VkPipelineInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
      Deprecated.
      Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.
    • callocStack

      @Deprecated public static VkPipelineInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
      Deprecated.
      Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.
    • mallocStack

      @Deprecated public static VkPipelineInfoKHR.Buffer mallocStack(int capacity)
      Deprecated.
      Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.
    • callocStack

      @Deprecated public static VkPipelineInfoKHR.Buffer callocStack(int capacity)
      Deprecated.
      Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.
    • mallocStack

      @Deprecated public static VkPipelineInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
      Deprecated.
      Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.
    • callocStack

      @Deprecated public static VkPipelineInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
      Deprecated.
      Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.
    • malloc

      public static VkPipelineInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
      Returns a new VkPipelineInfoKHR instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static VkPipelineInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
      Returns a new VkPipelineInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static VkPipelineInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new VkPipelineInfoKHR.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static VkPipelineInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new VkPipelineInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nsType

      public static int nsType(long struct)
      Unsafe version of sType().
    • npNext

      public static long npNext(long struct)
      Unsafe version of pNext().
    • npipeline

      public static long npipeline(long struct)
      Unsafe version of pipeline().
    • nsType

      public static void nsType(long struct, int value)
      Unsafe version of sType.
    • npNext

      public static void npNext(long struct, long value)
      Unsafe version of pNext.
    • npipeline

      public static void npipeline(long struct, long value)
      Unsafe version of pipeline.