MCPcopy Create free account
hub / github.com/RenderKit/ospray / registerAllLights

Function registerAllLights

modules/cpu/lights/registration.cpp:15–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13namespace ospray {
14
15void registerAllLights()
16{
17 Light::registerType<AmbientLight>("ambient");
18 Light::registerType<CylinderLight>("cylinder");
19 Light::registerType<DirectionalLight>("distant");
20 Light::registerType<HDRILight>("hdri");
21 Light::registerType<PointLight>("sphere");
22 Light::registerType<QuadLight>("quad");
23 Light::registerType<SpotLight>("spot");
24 Light::registerType<SunSkyLight>("sunSky");
25}
26
27} // namespace ospray

Callers 1

ospray_module_init_cpuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected