diff options
author | quou <quou@disroot.org> | 2025-01-13 20:56:13 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-01-13 20:56:13 +1100 |
commit | 014077c89bb3c50718d56430f387109ad43508b6 (patch) | |
tree | 02fa1ab03218fc22de4d875b7d8d593cbc19d67c /pipeline.cpp | |
parent | 4d5cdc97a044a39fabbfb980b2e48a817a6e485f (diff) |
basic picking and debug rendering
Diffstat (limited to 'pipeline.cpp')
-rw-r--r-- | pipeline.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pipeline.cpp b/pipeline.cpp index 1b55966..30c110c 100644 --- a/pipeline.cpp +++ b/pipeline.cpp @@ -165,6 +165,10 @@ void Pipeline_Builder::depth(bool test, bool write, Depth_Mode mode) { pip->depth_mode = mode; } +void Pipeline_Builder::geo(Geo_Type type) { + pip->geo = type; +} + void Pipeline_Builder::blend( Blend_Mode mode, Blend_Factor src, @@ -267,6 +271,7 @@ void Pipeline::hash() { h(pipeline_hash, depth_test); h(pipeline_hash, depth_write); h(pipeline_hash, depth_mode); + h(pipeline_hash, geo); h(pipeline_hash, blend_enable); h(pipeline_hash, blend_mode); h(pipeline_hash, blend_mode_alpha); |