Class VkTensorMemoryBarrierARM.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkTensorMemoryBarrierARM>, NativeResource, Pointer
Enclosing class:
VkTensorMemoryBarrierARM

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkTensorMemoryBarrierARM.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 VkTensorMemoryBarrierARM.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.
    • srcStageMask

      public long srcStageMask()
      Returns:
      the value of the srcStageMask field.
    • srcAccessMask

      public long srcAccessMask()
      Returns:
      the value of the srcAccessMask field.
    • dstStageMask

      public long dstStageMask()
      Returns:
      the value of the dstStageMask field.
    • dstAccessMask

      public long dstAccessMask()
      Returns:
      the value of the dstAccessMask field.
    • srcQueueFamilyIndex

      public int srcQueueFamilyIndex()
      Returns:
      the value of the srcQueueFamilyIndex field.
    • dstQueueFamilyIndex

      public int dstQueueFamilyIndex()
      Returns:
      the value of the dstQueueFamilyIndex field.
    • tensor

      public long tensor()
      Returns:
      the value of the tensor field.
    • sType

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

      public VkTensorMemoryBarrierARM.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_TENSOR_MEMORY_BARRIER_ARM value to the sType field.
    • pNext

      public VkTensorMemoryBarrierARM.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • srcStageMask

      public VkTensorMemoryBarrierARM.Buffer srcStageMask(long value)
      Sets the specified value to the srcStageMask field.
    • srcAccessMask

      public VkTensorMemoryBarrierARM.Buffer srcAccessMask(long value)
      Sets the specified value to the srcAccessMask field.
    • dstStageMask

      public VkTensorMemoryBarrierARM.Buffer dstStageMask(long value)
      Sets the specified value to the dstStageMask field.
    • dstAccessMask

      public VkTensorMemoryBarrierARM.Buffer dstAccessMask(long value)
      Sets the specified value to the dstAccessMask field.
    • srcQueueFamilyIndex

      public VkTensorMemoryBarrierARM.Buffer srcQueueFamilyIndex(int value)
      Sets the specified value to the srcQueueFamilyIndex field.
    • dstQueueFamilyIndex

      public VkTensorMemoryBarrierARM.Buffer dstQueueFamilyIndex(int value)
      Sets the specified value to the dstQueueFamilyIndex field.
    • tensor

      public VkTensorMemoryBarrierARM.Buffer tensor(long value)
      Sets the specified value to the tensor field.