Files
tyra-linux/engine/inc/renderer/3d/pipeline/renderer_3d_pipeline.hpp
T
2022-08-11 10:20:35 +02:00

29 lines
708 B
C++

/*
# _____ ____ ___
# | \/ ____| |___|
# | | | \ | |
#-----------------------------------------------------------------------
# Copyright 2022, tyra - https://github.com/h4570/tyra
# Licensed under Apache License 2.0
# Sandro Sobczyński <sandro.sobczynski@gmail.com>
*/
#pragma once
#include "renderer/core/renderer_core.hpp"
namespace Tyra {
class Renderer3DPipeline {
public:
Renderer3DPipeline() { onDestroy = nullptr; }
~Renderer3DPipeline() {}
virtual void setRenderer(RendererCore* core) = 0;
virtual void onUse() = 0;
virtual void onUseEnd() = 0;
std::function<void(Renderer3DPipeline*)> onDestroy;
};
} // namespace Tyra