Class VkShaderStatisticsInfoAMD.Buffer

All Implemented Interfaces:
Iterable<VkShaderStatisticsInfoAMD>, Pointer
Enclosing class:
VkShaderStatisticsInfoAMD

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

    • Buffer

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

    • shaderStageMask

      public int shaderStageMask()
      Returns:
      the value of the shaderStageMask field.
    • resourceUsage

      public VkShaderResourceUsageAMD resourceUsage()
      Returns:
      a VkShaderResourceUsageAMD view of the resourceUsage field.
    • numPhysicalVgprs

      public int numPhysicalVgprs()
      Returns:
      the value of the numPhysicalVgprs field.
    • numPhysicalSgprs

      public int numPhysicalSgprs()
      Returns:
      the value of the numPhysicalSgprs field.
    • numAvailableVgprs

      public int numAvailableVgprs()
      Returns:
      the value of the numAvailableVgprs field.
    • numAvailableSgprs

      public int numAvailableSgprs()
      Returns:
      the value of the numAvailableSgprs field.
    • computeWorkGroupSize

      public IntBuffer computeWorkGroupSize()
      Returns:
      a IntBuffer view of the computeWorkGroupSize field.
    • computeWorkGroupSize

      public int computeWorkGroupSize(int index)
      Returns:
      the value at the specified index of the computeWorkGroupSize field.