| 24 | |
| 25 | namespace tgfx { |
| 26 | ProgramInfo::ProgramInfo(RenderTarget* renderTarget, GeometryProcessor* geometryProcessor, |
| 27 | std::vector<FragmentProcessor*> fragmentProcessors, |
| 28 | size_t numColorProcessors, XferProcessor* xferProcessor, |
| 29 | BlendMode blendMode) |
| 30 | : renderTarget(renderTarget), geometryProcessor(std::move(geometryProcessor)), |
| 31 | fragmentProcessors(std::move(fragmentProcessors)), numColorProcessors(numColorProcessors), |
| 32 | xferProcessor(std::move(xferProcessor)), blendMode(blendMode) { |
| 33 | updateProcessorIndices(); |
| 34 | } |
| 35 | |
| 36 | void ProgramInfo::updateProcessorIndices() { |
| 37 | int index = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected