Class VkRayTracingPipelineInterfaceCreateInfoKHR

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

public class VkRayTracingPipelineInterfaceCreateInfoKHR extends org.lwjgl.system.Struct<VkRayTracingPipelineInterfaceCreateInfoKHR> implements org.lwjgl.system.NativeResource
Structure specifying additional interface information when using libraries.
Description

maxPipelineRayPayloadSize is calculated as the maximum size of the block (in bytes) declared in the RayPayloadKHR or IncomingRayPayloadKHR storage classes. maxPipelineRayHitAttributeSize is calculated as the maximum size of any block (in bytes) declared in the HitAttributeKHR storage class. As variables in these storage classes do not have explicit offsets, the size should be calculated as if each variable has a scalar alignment equal to the largest scalar alignment of any of the block’s members.

Note

There is no explicit upper limit for maxPipelineRayPayloadSize, but in practice it should be kept as small as possible. Similar to invocation local memory, it must be allocated for each shader invocation and for devices which support many simultaneous invocations, this storage can rapidly be exhausted, resulting in failure.

Valid Usage
Valid Usage (Implicit)
See Also

VkRayTracingPipelineCreateInfoKHR

Layout


 struct VkRayTracingPipelineInterfaceCreateInfoKHR {
     VkStructureType sType();
     void const * pNext();
     uint32_t maxPipelineRayPayloadSize();
     uint32_t maxPipelineRayHitAttributeSize();
 }