MCPcopy Create free account
hub / github.com/RenderKit/embree / TutorialData_Constructor

Function TutorialData_Constructor

tutorials/pathtracer/pathtracer_device.h:47–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45};
46
47void 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
72void TutorialData_Destructor(TutorialData* This)
73{

Callers 1

device_initFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected