z test patch

This commit is contained in:
h4570
2022-08-14 18:05:57 +02:00
parent a9c91db594
commit 15391a81e0
51 changed files with 197 additions and 163 deletions
@@ -11,21 +11,14 @@
#pragma once
#include "renderer/3d/pipeline/shared/pipeline_options.hpp"
#include "./stapip_ztest.hpp"
namespace Tyra {
class StaPipOptions : public PipelineOptions {
public:
StaPipOptions() {
fullClipChecks = false;
zTestType = StaPipZTest_Standard;
}
StaPipOptions() { fullClipChecks = false; }
~StaPipOptions() {}
/** @brief Type of z buffer testing. */
StaPipZTest zTestType;
/**
* @brief Experimental! True -> enables "clip against each plane" algorithm.
* Mandatory, default: False.