Class VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkPhysicalDeviceRayTracingPipelinePropertiesKHR.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 VkPhysicalDeviceRayTracingPipelinePropertiesKHR.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

      @NativeType("VkStructureType") public int sType()
      Returns:
      the value of the sType field.
    • pNext

      @NativeType("void *") public long pNext()
      Returns:
      the value of the pNext field.
    • shaderGroupHandleSize

      @NativeType("uint32_t") public int shaderGroupHandleSize()
      Returns:
      the value of the shaderGroupHandleSize field.
    • maxRayRecursionDepth

      @NativeType("uint32_t") public int maxRayRecursionDepth()
      Returns:
      the value of the maxRayRecursionDepth field.
    • maxShaderGroupStride

      @NativeType("uint32_t") public int maxShaderGroupStride()
      Returns:
      the value of the maxShaderGroupStride field.
    • shaderGroupBaseAlignment

      @NativeType("uint32_t") public int shaderGroupBaseAlignment()
      Returns:
      the value of the shaderGroupBaseAlignment field.
    • shaderGroupHandleCaptureReplaySize

      @NativeType("uint32_t") public int shaderGroupHandleCaptureReplaySize()
      Returns:
      the value of the shaderGroupHandleCaptureReplaySize field.
    • maxRayDispatchInvocationCount

      @NativeType("uint32_t") public int maxRayDispatchInvocationCount()
      Returns:
      the value of the maxRayDispatchInvocationCount field.
    • shaderGroupHandleAlignment

      @NativeType("uint32_t") public int shaderGroupHandleAlignment()
      Returns:
      the value of the shaderGroupHandleAlignment field.
    • maxRayHitAttributeSize

      @NativeType("uint32_t") public int maxRayHitAttributeSize()
      Returns:
      the value of the maxRayHitAttributeSize field.
    • sType

      public VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffer sType(@NativeType("VkStructureType") int value)
      Sets the specified value to the sType field.
    • sType$Default

    • pNext

      Sets the specified value to the pNext field.