Class VkDecompressMemoryRegionNV.Buffer

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.nv.struct.VkDecompressMemoryRegionNV
overrungl.vulkan.nv.struct.VkDecompressMemoryRegionNV.Buffer
All Implemented Interfaces:
Addressable
Enclosing class:
VkDecompressMemoryRegionNV

public static final class VkDecompressMemoryRegionNV.Buffer extends VkDecompressMemoryRegionNV
  • Constructor Details

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates VkDecompressMemoryRegionNV.Buffer with the given segment.
      Parameters:
      segment - the memory segment
      elementCount - the element count
  • Method Details

    • estimateCount

      public long estimateCount()
      Description copied from class: GroupType
      Estimates the element count of this group type buffer.
      Overrides:
      estimateCount in class GroupType
      Returns:
      the estimated element count of the group type buffer
    • asSlice

      public VkDecompressMemoryRegionNV asSlice(long index)
      Creates a slice of VkDecompressMemoryRegionNV.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkDecompressMemoryRegionNV
    • asSlice

      public VkDecompressMemoryRegionNV.Buffer asSlice(long index, long count)
      Creates a slice of VkDecompressMemoryRegionNV.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of VkDecompressMemoryRegionNV
    • srcAddressAt

      public long srcAddressAt(long index)
      Returns srcAddress at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      srcAddress at the given index
    • srcAddressAt

      public VkDecompressMemoryRegionNV.Buffer srcAddressAt(long index, long value)
      Sets srcAddress with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • dstAddressAt

      public long dstAddressAt(long index)
      Returns dstAddress at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      dstAddress at the given index
    • dstAddressAt

      public VkDecompressMemoryRegionNV.Buffer dstAddressAt(long index, long value)
      Sets dstAddress with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • compressedSizeAt

      public long compressedSizeAt(long index)
      Returns compressedSize at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      compressedSize at the given index
    • compressedSizeAt

      public VkDecompressMemoryRegionNV.Buffer compressedSizeAt(long index, long value)
      Sets compressedSize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • decompressedSizeAt

      public long decompressedSizeAt(long index)
      Returns decompressedSize at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      decompressedSize at the given index
    • decompressedSizeAt

      public VkDecompressMemoryRegionNV.Buffer decompressedSizeAt(long index, long value)
      Sets decompressedSize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • decompressionMethodAt

      public long decompressionMethodAt(long index)
      Returns decompressionMethod at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      decompressionMethod at the given index
    • decompressionMethodAt

      public VkDecompressMemoryRegionNV.Buffer decompressionMethodAt(long index, long value)
      Sets decompressionMethod with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this