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

Method setAlphaMode

Source/Falcor/Scene/Material/Material.cpp:128–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 }
127
128 void Material::setAlphaMode(AlphaMode alphaMode)
129 {
130 logWarning("Material '{}' of type '{}' does not support alpha. Ignoring call to setAlphaMode().", getName(), to_string(getType()));
131 }
132
133 void Material::setAlphaThreshold(float alphaThreshold)
134 {

Callers 1

MaterialMethod · 0.45

Calls 4

to_stringFunction · 0.70
getTypeFunction · 0.70
logWarningFunction · 0.50
getNameFunction · 0.50

Tested by

no test coverage detected