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

Function AmbientLight_set

tutorials/common/lights/ambient_light.cpp:77–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76//! Set the parameters of an ispc-side AmbientLight object
77extern "C" void AmbientLight_set(void* super,
78 const Vec3fa& radiance)
79{
80 AmbientLight* self = (AmbientLight*)super;
81 self->radiance = radiance;
82}
83
84} // namespace embree

Callers 1

updateLightMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected