Class VkStridedDeviceAddressRegionKHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class VkStridedDeviceAddressRegionKHR
    extends org.lwjgl.system.Struct
    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 Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • DEVICEADDRESS, STRIDE, SIZE

        The struct member offsets.
    • Constructor Detail

      • VkStridedDeviceAddressRegionKHR

        public VkStridedDeviceAddressRegionKHR​(java.nio.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.