pub unsafe fn execute_callable<T, const ID: usize>(data: &T)Expand description
Invoke a callable shader.
INDEXis the index into the SBT table to select callable shader to execute.datais a pointer to the callable data to pass into the called shader.datamust have a storage class ofcallable_dataorincoming_callable_data.
This instruction is allowed only in ray_generation, closest_hit,
miss and callable execution models.
This instruction is a shader call instruction which will invoke a shader
with the callable execution model.