Class VkPipelineRenderingCreateInfo.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkPipelineRenderingCreateInfo>, NativeResource, Pointer
Direct Known Subclasses:
VkPipelineRenderingCreateInfoKHR.Buffer
Enclosing class:
VkPipelineRenderingCreateInfo

public static class VkPipelineRenderingCreateInfo.Buffer extends StructBuffer<VkPipelineRenderingCreateInfo,VkPipelineRenderingCreateInfo.Buffer> implements NativeResource
An array of VkPipelineRenderingCreateInfo structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkPipelineRenderingCreateInfo.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkPipelineRenderingCreateInfo.SIZEOF, and its mark will be undefined.

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

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • sType

      public int sType()
      Returns:
      the value of the sType field.
    • pNext

      public long pNext()
      Returns:
      the value of the pNext field.
    • viewMask

      public int viewMask()
      Returns:
      the value of the viewMask field.
    • colorAttachmentCount

      public int colorAttachmentCount()
      Returns:
      the value of the colorAttachmentCount field.
    • pColorAttachmentFormats

      public @Nullable IntBuffer pColorAttachmentFormats()
      Returns:
      a IntBuffer view of the data pointed to by the pColorAttachmentFormats field.
    • depthAttachmentFormat

      public int depthAttachmentFormat()
      Returns:
      the value of the depthAttachmentFormat field.
    • stencilAttachmentFormat

      public int stencilAttachmentFormat()
      Returns:
      the value of the stencilAttachmentFormat field.
    • sType

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

      public VkPipelineRenderingCreateInfo.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO value to the sType field.
    • pNext

      public VkPipelineRenderingCreateInfo.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • viewMask

      public VkPipelineRenderingCreateInfo.Buffer viewMask(int value)
      Sets the specified value to the viewMask field.
    • colorAttachmentCount

      public VkPipelineRenderingCreateInfo.Buffer colorAttachmentCount(int value)
      Sets the specified value to the colorAttachmentCount field.
    • pColorAttachmentFormats

      public VkPipelineRenderingCreateInfo.Buffer pColorAttachmentFormats(@Nullable IntBuffer value)
      Sets the address of the specified IntBuffer to the pColorAttachmentFormats field.
    • depthAttachmentFormat

      public VkPipelineRenderingCreateInfo.Buffer depthAttachmentFormat(int value)
      Sets the specified value to the depthAttachmentFormat field.
    • stencilAttachmentFormat

      public VkPipelineRenderingCreateInfo.Buffer stencilAttachmentFormat(int value)
      Sets the specified value to the stencilAttachmentFormat field.