Class VkCopyAccelerationStructureInfoKHR

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

public class VkCopyAccelerationStructureInfoKHR extends org.lwjgl.system.Struct<VkCopyAccelerationStructureInfoKHR> implements org.lwjgl.system.NativeResource
Parameters for copying an acceleration structure.
Valid Usage
Valid Usage (Implicit)
  • sType must be STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_INFO_KHR
  • pNext must be NULL
  • src must be a valid VkAccelerationStructureKHR handle
  • dst must be a valid VkAccelerationStructureKHR handle
  • mode must be a valid VkCopyAccelerationStructureModeKHR value
  • Both of dst, and src must have been created, allocated, or retrieved from the same VkDevice
See Also

CmdCopyAccelerationStructureKHR, CopyAccelerationStructureKHR

Layout


 struct VkCopyAccelerationStructureInfoKHR {
     VkStructureType sType();
     void const * pNext();
     VkAccelerationStructureKHR src();
     VkAccelerationStructureKHR dst();
     VkCopyAccelerationStructureModeKHR mode();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • SRC

      public static final int SRC
      The struct member offsets.
    • DST

      public static final int DST
      The struct member offsets.
    • MODE

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

    • VkCopyAccelerationStructureInfoKHR

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