Class VkStridedDeviceAddressRegionKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkStridedDeviceAddressRegionKHR>
org.lwjgl.vulkan.VkStridedDeviceAddressRegionKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkStridedDeviceAddressRegionKHR extends org.lwjgl.system.Struct<VkStridedDeviceAddressRegionKHR> implements org.lwjgl.system.NativeResource
Structure specifying a region of device addresses with a stride.
Valid Usage
  • If size is not zero, all addresses between deviceAddress and deviceAddress + size - 1 must be in the buffer device address range of the same buffer
  • If size is not zero, stride must be less than or equal to the size of the buffer from which deviceAddress was queried
See Also

CmdTraceRaysIndirectKHR, CmdTraceRaysKHR

Layout


 struct VkStridedDeviceAddressRegionKHR {
     VkDeviceAddress deviceAddress();
     VkDeviceSize stride();
     VkDeviceSize size();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • DEVICEADDRESS

      public static final int DEVICEADDRESS
      The struct member offsets.
    • STRIDE

      public static final int STRIDE
      The struct member offsets.
    • SIZE

      public static final int SIZE
      The struct member offsets.
  • Constructor Details

    • VkStridedDeviceAddressRegionKHR

      public VkStridedDeviceAddressRegionKHR(ByteBuffer container)
      Creates a VkStridedDeviceAddressRegionKHR 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 Details