| 45 | }; |
| 46 | |
| 47 | void TutorialData_Constructor(TutorialData* This) |
| 48 | { |
| 49 | This->ispc_scene = g_ispc_scene; |
| 50 | This->instancing_mode = g_instancing_mode; |
| 51 | This->iflags_coherent = g_iflags_coherent; |
| 52 | This->iflags_incoherent = g_iflags_incoherent; |
| 53 | |
| 54 | This->occlusionFilterOpaque = nullptr; |
| 55 | This->occlusionFilterHair = nullptr; |
| 56 | |
| 57 | This->spp = g_spp; |
| 58 | This->max_path_length = g_max_path_length; |
| 59 | |
| 60 | This->accu = nullptr; |
| 61 | This->accu_width = 0; |
| 62 | This->accu_height = 0; |
| 63 | This->accu_count = 0; |
| 64 | |
| 65 | This->animation = true; |
| 66 | This->use_smooth_normals = false; |
| 67 | |
| 68 | This->scene = nullptr; |
| 69 | This->traversable = nullptr; |
| 70 | } |
| 71 | |
| 72 | void TutorialData_Destructor(TutorialData* This) |
| 73 | { |