From 87e3b5b9dbdc35a802e787aa9d85c22a84cfccbe Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 5 Aug 2024 16:22:16 +0200 Subject: [PATCH] Add optional parameter to Effect.Link() --- src/Aardvark.Rendering/Effects/Interop/FShade.fs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Aardvark.Rendering/Effects/Interop/FShade.fs b/src/Aardvark.Rendering/Effects/Interop/FShade.fs index 78a1a610..7a62a4db 100644 --- a/src/Aardvark.Rendering/Effects/Interop/FShade.fs +++ b/src/Aardvark.Rendering/Effects/Interop/FShade.fs @@ -4,6 +4,7 @@ open Aardvark.Base open Aardvark.Rendering open FShade open System.Runtime.CompilerServices +open System.Runtime.InteropServices open Microsoft.FSharp.Quotations open FSharp.Data.Adaptive open System @@ -527,5 +528,7 @@ type RuntimeFShadeInteropExtensions() = Effect.link signature topology false effect [] - static member Link (effect: Effect, signature: IFramebufferSignature, topology: IndexedGeometryMode) = - Effect.link signature topology false effect \ No newline at end of file + static member Link (effect: Effect, signature: IFramebufferSignature, + [] topology: IndexedGeometryMode, + [] flipHandedness: bool) = + Effect.link signature topology flipHandedness effect \ No newline at end of file