Class VkGpaPerfBlockPropertiesAMD.Buffer

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

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

    • Buffer

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

    • blockType

      @NativeType("VkGpaPerfBlockAMD") public int blockType()
      Returns:
      the value of the blockType field.
    • flags

      @NativeType("VkGpaPerfBlockPropertiesFlagsAMD") public int flags()
      Returns:
      the value of the flags field.
    • instanceCount

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

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

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

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

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

      public VkGpaPerfBlockPropertiesAMD.Buffer blockType(@NativeType("VkGpaPerfBlockAMD") int value)
      Sets the specified value to the blockType field.
    • flags

      public VkGpaPerfBlockPropertiesAMD.Buffer flags(@NativeType("VkGpaPerfBlockPropertiesFlagsAMD") int value)
      Sets the specified value to the flags field.
    • instanceCount

      public VkGpaPerfBlockPropertiesAMD.Buffer instanceCount(@NativeType("uint32_t") int value)
      Sets the specified value to the instanceCount field.
    • maxEventID

      public VkGpaPerfBlockPropertiesAMD.Buffer maxEventID(@NativeType("uint32_t") int value)
      Sets the specified value to the maxEventID field.
    • maxGlobalOnlyCounters

      public VkGpaPerfBlockPropertiesAMD.Buffer maxGlobalOnlyCounters(@NativeType("uint32_t") int value)
      Sets the specified value to the maxGlobalOnlyCounters field.
    • maxGlobalSharedCounters

      public VkGpaPerfBlockPropertiesAMD.Buffer maxGlobalSharedCounters(@NativeType("uint32_t") int value)
      Sets the specified value to the maxGlobalSharedCounters field.
    • maxStreamingCounters

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