rayGenFunctionName | The function name of this RayTracingShader's raygeneration shader. |
width | The number of rays cast per row of dispatch. |
height | The number of rays cast per height of dispatch. |
depth | The number of layers cast, where each layer consists of a number of rays given by width * height. |
camera | The camera from which the rays should be cast. |
Dispatches this RayTracingShader.
Call the raygeneration shader for the given camera and dimensions, and recurse as necessary up to the specified maxRecursionDepth.