Skip to content

Commit 3c91e79

Browse files
committed
Merge branch 'WIP/AvaloniaUi'
2 parents 3c57416 + 4260a34 commit 3c91e79

File tree

144 files changed

+7712
-3550
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+7712
-3550
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,3 +345,4 @@ MigrationBackup/
345345
# Ionide (cross platform F# VS Code tools) working folder
346346
.ionide/
347347
*.exe
348+
**/GLSLShaderShrinker.app/**

GLSLRenderer/CmdOptions.cs

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// -----------------------------------------------------------------------
2+
// <copyright file="CmdOptions.cs" company="Dean Edis">
3+
// Copyright (c) 2023 Dean Edis. All rights reserved.
4+
// </copyright>
5+
// <summary>
6+
// This example is provided on an "as is" basis and without warranty of any kind.
7+
// Dean Edis. does not warrant or make any representations regarding the use or
8+
// results of use of this example.
9+
// </summary>
10+
// -----------------------------------------------------------------------
11+
12+
using CommandLine;
13+
// ReSharper disable UnusedAutoPropertyAccessor.Global
14+
#pragma warning disable CS8618
15+
16+
namespace GLSLRenderer;
17+
18+
// ReSharper disable once ClassNeverInstantiated.Global
19+
public class CmdOptions
20+
{
21+
[Option('s', "start", Default = 10.0f, HelpText = "Start time.")]
22+
public float StartTime { get; set; }
23+
24+
[Option('e', "end", Default = 10.0f, HelpText = "End time.")]
25+
public float EndTime { get; set; }
26+
27+
[Option('f', "fps", Default = 1.0f, HelpText = "Frames per second.")]
28+
public float Fps { get; set; }
29+
30+
[Option('w', "width", Default = 640, HelpText = "Output width.")]
31+
public int Width { get; set; }
32+
33+
[Option('h', "height", Default = 320, HelpText = "Output height.")]
34+
public int Height { get; set; }
35+
36+
[Option('o', "output", Required = true, HelpText = "Output file path.")]
37+
public string OutputPath { get; set; }
38+
}

0 commit comments

Comments
 (0)