Consulte o Raytracing API example para obter informações sobre como escrever cenas programaticamente.