| 15 | #include "PostProcessor.h" |
| 16 | |
| 17 | void PostProcessor::Initialize() |
| 18 | { |
| 19 | helper.Initialize(); |
| 20 | |
| 21 | // Load the shaders |
| 22 | toneMap = CompileFromFile(L"PostProcessing.hlsl", "ToneMap", ShaderType::Pixel, ShaderProfile::SM51); |
| 23 | scale = CompileFromFile(L"PostProcessing.hlsl", "Scale", ShaderType::Pixel, ShaderProfile::SM51); |
| 24 | blurH = CompileFromFile(L"PostProcessing.hlsl", "BlurH", ShaderType::Pixel, ShaderProfile::SM51); |
| 25 | blurV = CompileFromFile(L"PostProcessing.hlsl", "BlurV", ShaderType::Pixel, ShaderProfile::SM51); |
| 26 | bloom = CompileFromFile(L"PostProcessing.hlsl", "Bloom", ShaderType::Pixel, ShaderProfile::SM51); |
| 27 | } |
| 28 | |
| 29 | void PostProcessor::Shutdown() |
| 30 | { |
nothing calls this directly
no test coverage detected