Class VkShaderResourceUsageAMD

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • NUMUSEDVGPRS, NUMUSEDSGPRS, LDSSIZEPERLOCALWORKGROUP, LDSUSAGESIZEINBYTES, SCRATCHMEMUSAGEINBYTES

        The struct member offsets.
    • Constructor Detail

      • VkShaderResourceUsageAMD

        public VkShaderResourceUsageAMD​(java.nio.ByteBuffer container)
        Creates a VkShaderResourceUsageAMD instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.

    • Method Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • numUsedVgprs

        public int numUsedVgprs()
        the number of vector instruction general-purpose registers used by this shader.
      • numUsedSgprs

        public int numUsedSgprs()
        the number of scalar instruction general-purpose registers used by this shader.
      • ldsSizePerLocalWorkGroup

        public int ldsSizePerLocalWorkGroup()
        the maximum local data store size per work group in bytes.
      • ldsUsageSizeInBytes

        public long ldsUsageSizeInBytes()
        the LDS usage size in bytes per work group by this shader.
      • scratchMemUsageInBytes

        public long scratchMemUsageInBytes()
        the scratch memory usage in bytes by this shader.
      • create

        public static VkShaderResourceUsageAMD create​(long address)
        Returns a new VkShaderResourceUsageAMD instance for the specified memory address.
      • nnumUsedVgprs

        public static int nnumUsedVgprs​(long struct)
        Unsafe version of numUsedVgprs().
      • nnumUsedSgprs

        public static int nnumUsedSgprs​(long struct)
        Unsafe version of numUsedSgprs().
      • nldsSizePerLocalWorkGroup

        public static int nldsSizePerLocalWorkGroup​(long struct)
        Unsafe version of ldsSizePerLocalWorkGroup().
      • nldsUsageSizeInBytes

        public static long nldsUsageSizeInBytes​(long struct)
        Unsafe version of ldsUsageSizeInBytes().
      • nscratchMemUsageInBytes

        public static long nscratchMemUsageInBytes​(long struct)
        Unsafe version of scratchMemUsageInBytes().