-
-
Notifications
You must be signed in to change notification settings - Fork 944
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Assimp] Apply code review changes, refactor
- Loading branch information
1 parent
04bd38c
commit c6d467e
Showing
16 changed files
with
1,804 additions
and
1,745 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
| ||
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) | ||
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information. | ||
|
||
using System; | ||
|
||
namespace Stride.Importer.Assimp.Material | ||
{ | ||
/// <summary> | ||
/// Enumeration of the new Assimp's flags. | ||
/// </summary> | ||
|
||
[Flags] | ||
public enum Flags | ||
{ | ||
None = 0, | ||
Invert = 1, | ||
ReplaceAlpha = 2 | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
sources/tools/Stride.Importer.Assimp/Material/MappingMode.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) | ||
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information. | ||
|
||
namespace Stride.Importer.Assimp.Material | ||
{ | ||
/// <summary> | ||
/// Enumeration of the different mapping modes in the new Assimp's material stack. | ||
/// </summary> | ||
public enum MappingMode | ||
{ | ||
Wrap, | ||
Clamp, | ||
Decal, | ||
Mirror | ||
} | ||
} |
237 changes: 6 additions & 231 deletions
237
sources/tools/Stride.Importer.Assimp/Material/MaterialStack.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.