More ray tracing changes

This commit is contained in:
Dynamitos
2024-06-18 09:48:00 +02:00
parent 7cdbb19331
commit cff14981ff
12 changed files with 109 additions and 3 deletions
+9 -1
View File
@@ -224,7 +224,15 @@ struct ComputePipelineCreateInfo {
Gfx::PComputeShader computeShader = nullptr;
Gfx::PPipelineLayout pipelineLayout = nullptr;
};
DECLARE_REF(ShaderBuffer)
struct RayTracingPipelineCreateInfo {
PPipelineLayout pipelineLayout = nullptr;
PRayGenShader rayGenShader = nullptr;
Array<PClosestHitShader> closestHitShaders;
Array<PAnyHitShader> anyHitShaders;
Array<PIntersectionShader> intersectionShaders;
Array<PMissShader> missShaders;
Array<PCallableShader> callableShaders;
};
struct BottomLevelASCreateInfo {
PMesh mesh;
};