// Luanti // SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2010-2013 celeron55, Perttu Ahola // Copyright (C) 2017 numzero, Lobachevskiy Vitaliy #pragma once #include "pipeline.h" class InitInterlacedMaskStep : public TrivialRenderStep { public: InitInterlacedMaskStep(TextureBuffer *buffer, u8 index); void run(PipelineContext &context) override; private: TextureBuffer *buffer; video::ITexture *last_mask { nullptr }; u8 index; }; void populateInterlacedPipeline(RenderPipeline *pipeline, Client *client);