namespace Brutal.VulkanApi { /// /// VkPhysicalDeviceRayTracingPipelinePropertiesKHR - Properties of the physical device for ray tracing /// /// /// /// The VkPhysicalDeviceRayTracingPipelinePropertiesKHR structure is /// defined as: /// /// /// // Provided by VK_KHR_ray_tracing_pipeline /// typedef struct VkPhysicalDeviceRayTracingPipelinePropertiesKHR { /// VkStructureType sType; /// void* pNext; /// uint32_t shaderGroupHandleSize; /// uint32_t maxRayRecursionDepth; /// uint32_t maxShaderGroupStride; /// uint32_t shaderGroupBaseAlignment; /// uint32_t shaderGroupHandleCaptureReplaySize; /// uint32_t maxRayDispatchInvocationCount; /// uint32_t shaderGroupHandleAlignment; /// uint32_t maxRayHitAttributeSize; /// } VkPhysicalDeviceRayTracingPipelinePropertiesKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkPhysicalDeviceRayTracingPipelinePropertiesKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PhysicalDeviceRayTracingPipelinePropertiesKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// ShaderGroupHandleSize is the size in bytes of the shader header. /// [FieldOffset(16)] public ByteSize32 ShaderGroupHandleSize; /// /// MaxRayRecursionDepth /// [FieldOffset(20)] public int MaxRayRecursionDepth; /// /// MaxShaderGroupStride /// [FieldOffset(24)] public ByteSize32 MaxShaderGroupStride; /// /// ShaderGroupBaseAlignment is the required: alignment in bytes for the base of the shader binding table. /// [FieldOffset(28)] public ByteSize32 ShaderGroupBaseAlignment; /// /// ShaderGroupHandleCaptureReplaySize is the number of bytes for the information required to do capture and replay for shader group handles. /// [FieldOffset(32)] public ByteSize32 ShaderGroupHandleCaptureReplaySize; /// /// MaxRayDispatchInvocationCount is the maximum number of ray generation shader invocations which may: be produced by a single vkCmdTraceRaysIndirectKHR or vkCmdTraceRaysKHR command. /// [FieldOffset(36)] public int MaxRayDispatchInvocationCount; /// /// ShaderGroupHandleAlignment is the required: alignment in bytes for each entry in a shader binding table. The value must be a power of two. /// [FieldOffset(40)] public ByteSize32 ShaderGroupHandleAlignment; /// /// MaxRayHitAttributeSize is the maximum size in bytes for a ray attribute structure /// [FieldOffset(44)] public ByteSize32 MaxRayHitAttributeSize; } }