Minetest 5.10.0-dev
 
Loading...
Searching...
No Matches
interlaced.h
Go to the documentation of this file.
1/*
2Minetest
3Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>
4Copyright (C) 2017 numzero, Lobachevskiy Vitaliy <numzer0@yandex.ru>
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU Lesser General Public License as published by
8the Free Software Foundation; either version 2.1 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU Lesser General Public License for more details.
15
16You should have received a copy of the GNU Lesser General Public License along
17with this program; if not, write to the Free Software Foundation, Inc.,
1851 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19*/
20
21#pragma once
22#include "stereo.h"
23
25{
26public:
28 void run(PipelineContext &context);
29private:
31 video::ITexture *last_mask { nullptr };
33};
34
Definition client.h:119
Definition interlaced.h:25
video::ITexture * last_mask
Definition interlaced.h:31
InitInterlacedMaskStep(TextureBuffer *buffer, u8 index)
Definition interlaced.cpp:27
TextureBuffer * buffer
Definition interlaced.h:30
void run(PipelineContext &context)
Runs the step.
Definition interlaced.cpp:32
u8 index
Definition interlaced.h:32
Render Pipeline provides a flexible way to execute rendering steps in the engine.
Definition pipeline.h:364
Texture buffer represents a framebuffer with a multiple attached textures.
Definition pipeline.h:122
Provides default empty implementation of supporting methods in a rendering step.
Definition pipeline.h:321
void populateInterlacedPipeline(RenderPipeline *pipeline, Client *client)
Definition interlaced.cpp:51
Definition activeobjectmgr.cpp:26
Definition pipeline.h:42