| 11 | using namespace gte; |
| 12 | |
| 13 | OverlayEffect::OverlayEffect(int32_t windowWidth, int32_t windowHeight) |
| 14 | : |
| 15 | mWindowWidth(static_cast<float>(windowWidth)), |
| 16 | mWindowHeight(static_cast<float>(windowHeight)), |
| 17 | mInvTextureWidth(0.0f), |
| 18 | mInvTextureHeight(0.0f), |
| 19 | mFactoryAPI(-1), |
| 20 | mOverlayRectangle{ 0, 0, 0, 0 }, |
| 21 | mTextureRectangle{ 0, 0, 0, 0 }, |
| 22 | mVBuffer{}, |
| 23 | mIBuffer{}, |
| 24 | mProgram{}, |
| 25 | mEffect{} |
| 26 | { |
| 27 | } |
| 28 | |
| 29 | OverlayEffect::OverlayEffect(std::shared_ptr<ProgramFactory> const& factory, |
| 30 | int32_t windowWidth, int32_t windowHeight, int32_t textureWidth, int32_t textureHeight, |
nothing calls this directly
no test coverage detected