Class VkGpaSampleBeginInfoAMD.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkGpaSampleBeginInfoAMD.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 VkGpaSampleBeginInfoAMD.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 const *") public long pNext()
      Returns:
      the value of the pNext field.
    • sampleType

      @NativeType("VkGpaSampleTypeAMD") public int sampleType()
      Returns:
      the value of the sampleType field.
    • sampleInternalOperations

      @NativeType("VkBool32") public boolean sampleInternalOperations()
      Returns:
      the value of the sampleInternalOperations field.
    • cacheFlushOnCounterCollection

      @NativeType("VkBool32") public boolean cacheFlushOnCounterCollection()
      Returns:
      the value of the cacheFlushOnCounterCollection field.
    • sqShaderMaskEnable

      @NativeType("VkBool32") public boolean sqShaderMaskEnable()
      Returns:
      the value of the sqShaderMaskEnable field.
    • sqShaderMask

      @NativeType("VkGpaSqShaderStageFlagsAMD") public int sqShaderMask()
      Returns:
      the value of the sqShaderMask field.
    • perfCounterCount

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

      @NativeType("VkGpaPerfCounterAMD const *") public VkGpaPerfCounterAMD.Buffer pPerfCounters()
      Returns:
      a VkGpaPerfCounterAMD.Buffer view of the struct array pointed to by the pPerfCounters field.
    • streamingPerfTraceSampleInterval

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

      @NativeType("VkDeviceSize") public long perfCounterDeviceMemoryLimit()
      Returns:
      the value of the perfCounterDeviceMemoryLimit field.
    • sqThreadTraceEnable

      @NativeType("VkBool32") public boolean sqThreadTraceEnable()
      Returns:
      the value of the sqThreadTraceEnable field.
    • sqThreadTraceSuppressInstructionTokens

      @NativeType("VkBool32") public boolean sqThreadTraceSuppressInstructionTokens()
      Returns:
      the value of the sqThreadTraceSuppressInstructionTokens field.
    • sqThreadTraceDeviceMemoryLimit

      @NativeType("VkDeviceSize") public long sqThreadTraceDeviceMemoryLimit()
      Returns:
      the value of the sqThreadTraceDeviceMemoryLimit field.
    • timingPreSample

      @NativeType("VkPipelineStageFlags") public int timingPreSample()
      Returns:
      the value of the timingPreSample field.
    • timingPostSample

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

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

      public VkGpaSampleBeginInfoAMD.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_GPA_SAMPLE_BEGIN_INFO_AMD value to the sType field.
    • pNext

      public VkGpaSampleBeginInfoAMD.Buffer pNext(@NativeType("void const *") long value)
      Sets the specified value to the pNext field.
    • sampleType

      public VkGpaSampleBeginInfoAMD.Buffer sampleType(@NativeType("VkGpaSampleTypeAMD") int value)
      Sets the specified value to the sampleType field.
    • sampleInternalOperations

      public VkGpaSampleBeginInfoAMD.Buffer sampleInternalOperations(@NativeType("VkBool32") boolean value)
      Sets the specified value to the sampleInternalOperations field.
    • cacheFlushOnCounterCollection

      public VkGpaSampleBeginInfoAMD.Buffer cacheFlushOnCounterCollection(@NativeType("VkBool32") boolean value)
      Sets the specified value to the cacheFlushOnCounterCollection field.
    • sqShaderMaskEnable

      public VkGpaSampleBeginInfoAMD.Buffer sqShaderMaskEnable(@NativeType("VkBool32") boolean value)
      Sets the specified value to the sqShaderMaskEnable field.
    • sqShaderMask

      public VkGpaSampleBeginInfoAMD.Buffer sqShaderMask(@NativeType("VkGpaSqShaderStageFlagsAMD") int value)
      Sets the specified value to the sqShaderMask field.
    • pPerfCounters

      public VkGpaSampleBeginInfoAMD.Buffer pPerfCounters(@NativeType("VkGpaPerfCounterAMD const *") VkGpaPerfCounterAMD.Buffer value)
      Sets the address of the specified VkGpaPerfCounterAMD.Buffer to the pPerfCounters field.
    • streamingPerfTraceSampleInterval

      public VkGpaSampleBeginInfoAMD.Buffer streamingPerfTraceSampleInterval(@NativeType("uint32_t") int value)
      Sets the specified value to the streamingPerfTraceSampleInterval field.
    • perfCounterDeviceMemoryLimit

      public VkGpaSampleBeginInfoAMD.Buffer perfCounterDeviceMemoryLimit(@NativeType("VkDeviceSize") long value)
      Sets the specified value to the perfCounterDeviceMemoryLimit field.
    • sqThreadTraceEnable

      public VkGpaSampleBeginInfoAMD.Buffer sqThreadTraceEnable(@NativeType("VkBool32") boolean value)
      Sets the specified value to the sqThreadTraceEnable field.
    • sqThreadTraceSuppressInstructionTokens

      public VkGpaSampleBeginInfoAMD.Buffer sqThreadTraceSuppressInstructionTokens(@NativeType("VkBool32") boolean value)
      Sets the specified value to the sqThreadTraceSuppressInstructionTokens field.
    • sqThreadTraceDeviceMemoryLimit

      public VkGpaSampleBeginInfoAMD.Buffer sqThreadTraceDeviceMemoryLimit(@NativeType("VkDeviceSize") long value)
      Sets the specified value to the sqThreadTraceDeviceMemoryLimit field.
    • timingPreSample

      public VkGpaSampleBeginInfoAMD.Buffer timingPreSample(@NativeType("VkPipelineStageFlags") int value)
      Sets the specified value to the timingPreSample field.
    • timingPostSample

      public VkGpaSampleBeginInfoAMD.Buffer timingPostSample(@NativeType("VkPipelineStageFlags") int value)
      Sets the specified value to the timingPostSample field.