mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
21 lines
572 B
C++
21 lines
572 B
C++
// Luanti
|
|
// SPDX-License-Identifier: LGPL-2.1-or-later
|
|
// Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>
|
|
// Copyright (C) 2017 numzero, Lobachevskiy Vitaliy <numzer0@yandex.ru>
|
|
|
|
#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);
|