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

Method ToneMapper

Source/RenderPasses/ToneMapper/ToneMapper.cpp:116–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116ToneMapper::ToneMapper(ref<Device> pDevice, const Properties& props) : RenderPass(pDevice)
117{
118 parseProperties(props);
119
120 createLuminancePass();
121 createToneMapPass();
122
123 updateWhiteBalanceTransform();
124
125 Sampler::Desc samplerDesc;
126 samplerDesc.setFilterMode(TextureFilteringMode::Point, TextureFilteringMode::Point, TextureFilteringMode::Point);
127 mpPointSampler = mpDevice->createSampler(samplerDesc);
128 samplerDesc.setFilterMode(TextureFilteringMode::Linear, TextureFilteringMode::Linear, TextureFilteringMode::Point);
129 mpLinearSampler = mpDevice->createSampler(samplerDesc);
130}
131
132void ToneMapper::parseProperties(const Properties& props)
133{

Callers

nothing calls this directly

Calls 1

createSamplerMethod · 0.80

Tested by

no test coverage detected