Class VkGpaDeviceGetClockInfoAMD.Buffer

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

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

    • Buffer

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

      @NativeType("VkStructureType") public int sType()
      Returns:
      the value of the sType field.
    • pNext

      @NativeType("void *") public long pNext()
      Returns:
      the value of the pNext field.
    • memoryClockRatioToPeak

      public float memoryClockRatioToPeak()
      Returns:
      the value of the memoryClockRatioToPeak field.
    • engineClockRatioToPeak

      public float engineClockRatioToPeak()
      Returns:
      the value of the engineClockRatioToPeak field.
    • memoryClockFrequency

      @NativeType("uint32_t") public int memoryClockFrequency()
      Returns:
      the value of the memoryClockFrequency field.
    • engineClockFrequency

      @NativeType("uint32_t") public int engineClockFrequency()
      Returns:
      the value of the engineClockFrequency field.
    • sType

      public VkGpaDeviceGetClockInfoAMD.Buffer sType(@NativeType("VkStructureType") int value)
      Sets the specified value to the sType field.
    • sType$Default

      public VkGpaDeviceGetClockInfoAMD.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_GPA_DEVICE_GET_CLOCK_INFO_AMD value to the sType field.
    • pNext

      public VkGpaDeviceGetClockInfoAMD.Buffer pNext(@NativeType("void *") long value)
      Sets the specified value to the pNext field.
    • memoryClockRatioToPeak

      public VkGpaDeviceGetClockInfoAMD.Buffer memoryClockRatioToPeak(float value)
      Sets the specified value to the memoryClockRatioToPeak field.
    • engineClockRatioToPeak

      public VkGpaDeviceGetClockInfoAMD.Buffer engineClockRatioToPeak(float value)
      Sets the specified value to the engineClockRatioToPeak field.
    • memoryClockFrequency

      public VkGpaDeviceGetClockInfoAMD.Buffer memoryClockFrequency(@NativeType("uint32_t") int value)
      Sets the specified value to the memoryClockFrequency field.
    • engineClockFrequency

      public VkGpaDeviceGetClockInfoAMD.Buffer engineClockFrequency(@NativeType("uint32_t") int value)
      Sets the specified value to the engineClockFrequency field.