MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / SetRoughness

Function SetRoughness

openpgl/include/openpgl/cpp/PathSegment.h:126–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126OPENPGL_INLINE void SetRoughness(PathSegment *pathSegment, const float &roughness)
127{
128 OPENPGL_ASSERT(pathSegment);
129 pathSegment->roughness = roughness;
130}
131
132OPENPGL_INLINE void SetTransmittanceWeight(PathSegment *pathSegment, const pgl_vec3f &transmittanceWeight)
133{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected