Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
wrestledBearOnce authored and github-actions[bot] committed Jun 21, 2022
1 parent fb1994e commit b261ad5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/Engine/Core/Effects/SurfaceEffect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ public class SurfaceEffect : SurfaceEffectBase
/// </summary>
[FxShader(ShaderCategory.Fragment)]
[FxShard(ShardCategory.Uniform)]
public ColorMode ColorMode {
public ColorMode ColorMode
{
get { return _colorMode; }
set
{
Expand Down
6 changes: 3 additions & 3 deletions src/Engine/Core/ShaderShards/Fragment/FragShards.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public static class FragShards

private static List<string> ColorModeSwitch() => new()
{
"vec4 resColor;",
$"switch({UniformNameDeclarations.ColorMode})",
@"{
"vec4 resColor;",
$"switch({UniformNameDeclarations.ColorMode})",
@"{
case 0:
resColor = IN.Albedo;
break;
Expand Down

0 comments on commit b261ad5

Please sign in to comment.