Class VkPhysicalDeviceAccelerationStructureFeaturesKHR.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkPhysicalDeviceAccelerationStructureFeaturesKHR>, NativeResource, Pointer
Enclosing class:
VkPhysicalDeviceAccelerationStructureFeaturesKHR

public static class VkPhysicalDeviceAccelerationStructureFeaturesKHR.Buffer extends StructBuffer<VkPhysicalDeviceAccelerationStructureFeaturesKHR,VkPhysicalDeviceAccelerationStructureFeaturesKHR.Buffer> implements NativeResource
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkPhysicalDeviceAccelerationStructureFeaturesKHR.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkPhysicalDeviceAccelerationStructureFeaturesKHR.SIZEOF, and its mark will be undefined.

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

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • sType

      public int sType()
      Returns:
      the value of the sType field.
    • pNext

      public long pNext()
      Returns:
      the value of the pNext field.
    • accelerationStructure

      public boolean accelerationStructure()
      Returns:
      the value of the accelerationStructure field.
    • accelerationStructureCaptureReplay

      public boolean accelerationStructureCaptureReplay()
      Returns:
      the value of the accelerationStructureCaptureReplay field.
    • accelerationStructureIndirectBuild

      public boolean accelerationStructureIndirectBuild()
      Returns:
      the value of the accelerationStructureIndirectBuild field.
    • accelerationStructureHostCommands

      public boolean accelerationStructureHostCommands()
      Returns:
      the value of the accelerationStructureHostCommands field.
    • descriptorBindingAccelerationStructureUpdateAfterBind

      public boolean descriptorBindingAccelerationStructureUpdateAfterBind()
      Returns:
      the value of the descriptorBindingAccelerationStructureUpdateAfterBind field.
    • sType

      Sets the specified value to the sType field.
    • sType$Default

    • pNext

      Sets the specified value to the pNext field.
    • accelerationStructure

      public VkPhysicalDeviceAccelerationStructureFeaturesKHR.Buffer accelerationStructure(boolean value)
      Sets the specified value to the accelerationStructure field.
    • accelerationStructureCaptureReplay

      public VkPhysicalDeviceAccelerationStructureFeaturesKHR.Buffer accelerationStructureCaptureReplay(boolean value)
      Sets the specified value to the accelerationStructureCaptureReplay field.
    • accelerationStructureIndirectBuild

      public VkPhysicalDeviceAccelerationStructureFeaturesKHR.Buffer accelerationStructureIndirectBuild(boolean value)
      Sets the specified value to the accelerationStructureIndirectBuild field.
    • accelerationStructureHostCommands

      public VkPhysicalDeviceAccelerationStructureFeaturesKHR.Buffer accelerationStructureHostCommands(boolean value)
      Sets the specified value to the accelerationStructureHostCommands field.
    • descriptorBindingAccelerationStructureUpdateAfterBind

      public VkPhysicalDeviceAccelerationStructureFeaturesKHR.Buffer descriptorBindingAccelerationStructureUpdateAfterBind(boolean value)
      Sets the specified value to the descriptorBindingAccelerationStructureUpdateAfterBind field.