diff --git a/LuaScript.Runtime/Engine/PixelShaderInvoke.cs b/LuaScript.Runtime/Engine/PixelShaderInvoke.cs new file mode 100644 index 0000000..1be9b31 --- /dev/null +++ b/LuaScript.Runtime/Engine/PixelShaderInvoke.cs @@ -0,0 +1,15 @@ +using System; + +namespace LuaScript.Engine +{ + internal delegate PixelShaderRunStatus PixelShaderInvoke( + string name, + ReadOnlySpan resources, + ReadOnlySpan constants, + PixelShaderBlend blend, + PixelShaderSampler sampler, + byte[] target, + int targetWidth, + int targetHeight, + out string? error); +}