#[repr(C)]pub struct D3D12_DISPATCH_RAYS_DESC {
pub RayGenerationShaderRecord: D3D12_GPU_VIRTUAL_ADDRESS_RANGE,
pub MissShaderTable: D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE,
pub HitGroupTable: D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE,
pub CallableShaderTable: D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE,
pub Width: u32,
pub Height: u32,
pub Depth: u32,
}Expand description
Required features: ‘Win32_Graphics_Direct3D12’
Fields
RayGenerationShaderRecord: D3D12_GPU_VIRTUAL_ADDRESS_RANGEMissShaderTable: D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDEHitGroupTable: D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDECallableShaderTable: D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDEWidth: u32Height: u32Depth: u32