MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / setVolumeScattering

Method setVolumeScattering

Source/Falcor/Scene/Material/BasicMaterial.cpp:557–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555 }
556
557 void BasicMaterial::setVolumeScattering(const float3& volumeScattering)
558 {
559 if (any(mData.volumeScattering != (float16_t3)volumeScattering))
560 {
561 mData.volumeScattering = (float16_t3)volumeScattering;
562 markUpdates(UpdateFlags::DataChanged);
563 }
564 }
565
566 void BasicMaterial::setVolumeAnisotropy(float volumeAnisotropy)
567 {

Callers 2

convertMethod · 0.80
buildShapeFunction · 0.80

Calls 1

anyFunction · 0.50

Tested by

no test coverage detected