init of dynpip bag

This commit is contained in:
h4570
2022-07-19 13:16:18 +02:00
parent 7fd2926d1d
commit 4e0785754e
18 changed files with 406 additions and 49 deletions
@@ -13,7 +13,7 @@
#include <draw.h>
#include "math/m4x4.hpp"
#include "math/vec4.hpp"
#include "./pipeline_shading_type.hpp"
#include "../pipeline_shading_type.hpp"
namespace Tyra {
@@ -36,6 +36,7 @@ class PipelineInfoBag {
* Full clip checks are slow, but they are
* preventing visual artifacts, which can happen
* for big 3D objects (or objects near camera eyes)
* Force enabled in dynamic pipe, because of efficiency.
*/
bool noFullClipChecks;
};
@@ -1,20 +0,0 @@
/*
# ______ ____ ___
# | \/ ____| |___|
# | | | \ | |
#-----------------------------------------------------------------------
# Copyright 2022, tyra - https://github.com/h4570/tyra
# Licenced under Apache License 2.0
# Sandro Sobczyński <sandro.sobczynski@gmail.com>
*/
#pragma once
namespace Tyra {
enum PipelineShadingType {
StaPipShadingFlat,
StaPipShadingGouraud,
};
} // namespace Tyra