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

Function TutorialData_Constructor

tutorials/next_hit/next_hit_device.h:43–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41};
42
43void TutorialData_Constructor(TutorialData* This)
44{
45 This->scene = nullptr;
46 This->traversable = nullptr;
47 This->ispc_scene = g_ispc_scene;
48 This->instancing_mode = g_instancing_mode;
49 This->next_hit_mode = g_next_hit_mode;
50 This->max_next_hits = g_max_next_hits;
51 This->max_total_hits = g_max_total_hits;
52 This->verify = g_verify;
53 This->visualize_errors = g_visualize_errors;
54 This->enable_opacity = g_enable_opacity;
55 This->curve_opacity = g_curve_opacity;
56 This->num_prev_hits = nullptr;
57}
58
59void TutorialData_Destructor(TutorialData* This)
60{

Callers 1

device_initFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected