Luanti
5.10.0-dev
Loading...
Searching...
No Matches
interlaced.h
Go to the documentation of this file.
1
// Luanti
2
// SPDX-License-Identifier: LGPL-2.1-or-later
3
// Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>
4
// Copyright (C) 2017 numzero, Lobachevskiy Vitaliy <numzer0@yandex.ru>
5
6
#pragma once
7
#include "
stereo.h
"
8
9
class
InitInterlacedMaskStep
:
public
TrivialRenderStep
10
{
11
public
:
12
InitInterlacedMaskStep
(
TextureBuffer
*
buffer
, u8
index
);
13
void
run
(
PipelineContext
&context);
14
private
:
15
TextureBuffer
*
buffer
;
16
video::ITexture *
last_mask
{
nullptr
};
17
u8
index
;
18
};
19
20
void
populateInterlacedPipeline
(
RenderPipeline
*pipeline,
Client
*
client
);
Client
Definition
client.h:105
InitInterlacedMaskStep
Definition
interlaced.h:10
InitInterlacedMaskStep::last_mask
video::ITexture * last_mask
Definition
interlaced.h:16
InitInterlacedMaskStep::InitInterlacedMaskStep
InitInterlacedMaskStep(TextureBuffer *buffer, u8 index)
Definition
interlaced.cpp:12
InitInterlacedMaskStep::buffer
TextureBuffer * buffer
Definition
interlaced.h:15
InitInterlacedMaskStep::run
void run(PipelineContext &context)
Runs the step.
Definition
interlaced.cpp:17
InitInterlacedMaskStep::index
u8 index
Definition
interlaced.h:17
RenderPipeline
Render Pipeline provides a flexible way to execute rendering steps in the engine.
Definition
pipeline.h:349
TextureBuffer
Texture buffer represents a framebuffer with a multiple attached textures.
Definition
pipeline.h:107
TrivialRenderStep
Provides default empty implementation of supporting methods in a rendering step.
Definition
pipeline.h:306
populateInterlacedPipeline
void populateInterlacedPipeline(RenderPipeline *pipeline, Client *client)
Definition
interlaced.cpp:36
client
Definition
activeobjectmgr.cpp:11
stereo.h
PipelineContext
Definition
pipeline.h:27
client
render
interlaced.h
Generated on Fri Nov 1 2024 10:48:59 for Luanti by
1.11.0