Class VkPhysicalDeviceShaderEnqueueFeaturesAMDX.Buffer

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.amdx.struct.VkPhysicalDeviceShaderEnqueueFeaturesAMDX
overrungl.vulkan.amdx.struct.VkPhysicalDeviceShaderEnqueueFeaturesAMDX.Buffer
All Implemented Interfaces:
Addressable
Enclosing class:
VkPhysicalDeviceShaderEnqueueFeaturesAMDX

public static final class VkPhysicalDeviceShaderEnqueueFeaturesAMDX.Buffer extends VkPhysicalDeviceShaderEnqueueFeaturesAMDX
  • Constructor Details

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates VkPhysicalDeviceShaderEnqueueFeaturesAMDX.Buffer with the given segment.
      Parameters:
      segment - the memory segment
      elementCount - the element count
  • Method Details

    • estimateCount

      public long estimateCount()
      Description copied from class: GroupType
      Estimates the element count of this group type buffer.
      Overrides:
      estimateCount in class GroupType
      Returns:
      the estimated element count of the group type buffer
    • asSlice

      public VkPhysicalDeviceShaderEnqueueFeaturesAMDX asSlice(long index)
      Creates a slice of VkPhysicalDeviceShaderEnqueueFeaturesAMDX.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkPhysicalDeviceShaderEnqueueFeaturesAMDX
    • asSlice

      public VkPhysicalDeviceShaderEnqueueFeaturesAMDX.Buffer asSlice(long index, long count)
      Creates a slice of VkPhysicalDeviceShaderEnqueueFeaturesAMDX.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of VkPhysicalDeviceShaderEnqueueFeaturesAMDX
    • sTypeAt

      public int sTypeAt(long index)
      Returns sType at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      sType at the given index
    • sTypeAt

      public VkPhysicalDeviceShaderEnqueueFeaturesAMDX.Buffer sTypeAt(long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pNextAt

      public MemorySegment pNextAt(long index)
      Returns pNext at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pNext at the given index
    • pNextAt

      Sets pNext with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • shaderEnqueueAt

      public int shaderEnqueueAt(long index)
      Returns shaderEnqueue at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      shaderEnqueue at the given index
    • shaderEnqueueAt

      public VkPhysicalDeviceShaderEnqueueFeaturesAMDX.Buffer shaderEnqueueAt(long index, int value)
      Sets shaderEnqueue with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • shaderMeshEnqueueAt

      public int shaderMeshEnqueueAt(long index)
      Returns shaderMeshEnqueue at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      shaderMeshEnqueue at the given index
    • shaderMeshEnqueueAt

      public VkPhysicalDeviceShaderEnqueueFeaturesAMDX.Buffer shaderMeshEnqueueAt(long index, int value)
      Sets shaderMeshEnqueue with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this