| 58 | }; |
| 59 | |
| 60 | Bloom::Bloom(IRenderDevice* pDevice, const CreateInfo& CI) : |
| 61 | m_BloomAttribs{std::make_unique<HLSL::BloomAttribs>()}, |
| 62 | m_Settings{CI} |
| 63 | { |
| 64 | DEV_CHECK_ERR(pDevice != nullptr, "pDevice must not be null"); |
| 65 | |
| 66 | RefCntAutoPtr<IBuffer> pBuffer; |
| 67 | CreateUniformBuffer(pDevice, sizeof(HLSL::BloomAttribs), "Bloom::ConstantBuffer", &pBuffer, USAGE_DEFAULT, BIND_UNIFORM_BUFFER, CPU_ACCESS_NONE, m_BloomAttribs.get()); |
| 68 | m_Resources.Insert(RESOURCE_IDENTIFIER_CONSTANT_BUFFER, pBuffer); |
| 69 | } |
| 70 | |
| 71 | Bloom::~Bloom() {} |
| 72 |
nothing calls this directly
no outgoing calls
no test coverage detected