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

Method setAlphaThreshold

Source/Falcor/Scene/Material/Material.cpp:133–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 void Material::setAlphaThreshold(float alphaThreshold)
134 {
135 logWarning("Material '{}' of type '{}' does not support alpha. Ignoring call to setAlphaThreshold().", getName(), to_string(getType()));
136 }
137
138 void Material::setNestedPriority(uint32_t priority)
139 {

Callers 2

convertMethod · 0.45
MaterialMethod · 0.45

Calls 4

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

Tested by

no test coverage detected