namespace Brutal.VulkanApi { /// /// VkPhysicalDeviceRayTracingPropertiesNV - Properties of the physical device for ray tracing /// /// /// /// The VkPhysicalDeviceRayTracingPropertiesNV structure is defined as: /// /// /// // Provided by VK_NV_ray_tracing /// typedef struct VkPhysicalDeviceRayTracingPropertiesNV { /// VkStructureType sType; /// void* pNext; /// uint32_t shaderGroupHandleSize; /// uint32_t maxRecursionDepth; /// uint32_t maxShaderGroupStride; /// uint32_t shaderGroupBaseAlignment; /// uint64_t maxGeometryCount; /// uint64_t maxInstanceCount; /// uint64_t maxTriangleCount; /// uint32_t maxDescriptorSetAccelerationStructures; /// } VkPhysicalDeviceRayTracingPropertiesNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkPhysicalDeviceRayTracingPropertiesNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PhysicalDeviceRayTracingPropertiesNV; /// /// 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 int ShaderGroupHandleSize; /// /// MaxRecursionDepth /// [FieldOffset(20)] public int MaxRecursionDepth; /// /// MaxShaderGroupStride is the maximum stride in bytes allowed between shader groups in the shader binding table. /// [FieldOffset(24)] public int MaxShaderGroupStride; /// /// ShaderGroupBaseAlignment is the required: alignment in bytes for the base of the shader binding table. /// [FieldOffset(28)] public int ShaderGroupBaseAlignment; /// /// MaxGeometryCount is the maximum number of geometries in the bottom level acceleration structure. /// [FieldOffset(32)] public nint MaxGeometryCount; /// /// MaxInstanceCount is the maximum number of instances in the top level acceleration structure. /// [FieldOffset(40)] public nint MaxInstanceCount; /// /// MaxTriangleCount is the maximum number of triangles in all geometries in the bottom level acceleration structure. /// [FieldOffset(48)] public nint MaxTriangleCount; /// /// MaxDescriptorSetAccelerationStructures is the maximum number of acceleration structure descriptors that are allowed in a descriptor set. /// [FieldOffset(56)] public int MaxDescriptorSetAccelerationStructures; } }