mv namespace from VRMShaders.VRM10.MToon10 to VRM10.MToon10

This commit is contained in:
Masataka SUMI 2024-07-18 23:24:50 +09:00
parent 7449207ae8
commit 8a7d0a82f3
44 changed files with 49 additions and 56 deletions

View File

@ -2,7 +2,7 @@
using UnityEditor;
using UnityEngine;
namespace VRMShaders.VRM10.MToon10.Editor
namespace VRM10.MToon10.Editor
{
internal static class EditorMenu
{

View File

@ -2,7 +2,7 @@
using UnityEditor;
using UnityEngine;
namespace VRMShaders.VRM10.MToon10.Editor
namespace VRM10.MToon10.Editor
{
public readonly struct LabelScope : IDisposable
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Editor
namespace VRM10.MToon10.Editor
{
public enum MToon10EditorEditMode
{

View File

@ -1,13 +1,10 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
using UnityEngine.Rendering;
using VRMShaders.VRM10.MToon10.Runtime;
namespace VRMShaders.VRM10.MToon10.Editor
namespace VRM10.MToon10.Editor
{
public sealed class MToonInspector : ShaderGUI
{

View File

@ -209,5 +209,5 @@ Shader "VRM10/MToon10"
}
}
Fallback "Unlit/Texture"
CustomEditor "VRMShaders.VRM10.MToon10.Editor.MToonInspector"
CustomEditor "VRM10.MToon10.Editor.MToonInspector"
}

View File

@ -253,5 +253,5 @@ Shader "VRM10/Universal Render Pipeline/MToon10"
}
FallBack "Hidden/Universal Render Pipeline/FallbackError"
CustomEditor "VRMShaders.VRM10.MToon10.Editor.MToonInspector"
CustomEditor "VRM10.MToon10.Editor.MToonInspector"
}

View File

@ -1,6 +1,6 @@
using UnityEngine;
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public static class MaterialExtensions
{

View File

@ -1,6 +1,6 @@
using UnityEngine;
namespace VRMShaders.VRM10.MToon10.Runtime.MToon0X
namespace VRM10.MToon10.MToon0X
{
public class MToon0XDefinition
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime.MToon0X
namespace VRM10.MToon10.MToon0X
{
public enum MToon0XDebugMode
{

View File

@ -1,8 +1,7 @@
using System;
using UnityEngine;
using UnityEngine.Rendering;
namespace VRMShaders.VRM10.MToon10.Runtime.MToon0X
namespace VRM10.MToon10.MToon0X
{
public static partial class MToon0XUtils
{

View File

@ -1,7 +1,6 @@
using System;
using UnityEngine;
namespace VRMShaders.VRM10.MToon10.Runtime.MToon0X
namespace VRM10.MToon10.MToon0X
{
public static partial class MToon0XUtils
{
@ -11,7 +10,7 @@ namespace VRMShaders.VRM10.MToon10.Runtime.MToon0X
{
Meta = new MToon0XMetaDefinition
{
Implementation = Implementation,
Implementation = MToon0XUtils.Implementation,
VersionNumber = material.GetInt(PropVersion),
},
Rendering = new MToon0XRenderingDefinition

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime.MToon0X
namespace VRM10.MToon10.MToon0X
{
public static partial class MToon0XUtils
{

View File

@ -1,6 +1,6 @@
using UnityEngine;
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public sealed class MToon10Context
{

View File

@ -1,6 +1,6 @@
using UnityEngine;
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
/// <summary>
/// Migrate from VRM 0.x MToon to VRM 1.0 vrmc_materials_mtoon

View File

@ -1,10 +1,10 @@
using System;
using UnityEngine;
using VRMShaders.VRM10.MToon10.Runtime;
using VRMShaders.VRM10.MToon10.Runtime.MToon0X;
using VRM10.MToon10.MToon0X;
using MToon0XUtils = VRM10.MToon10.MToon0X.MToon0XUtils;
using Object = UnityEngine.Object;
namespace VRMShaders.VRM10.MToon10.Editor
namespace VRM10.MToon10
{
public sealed class MToonMaterialMigrator
{

View File

@ -2,7 +2,7 @@
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public sealed class MToonOutlineRenderFeature : ScriptableRendererFeature
{

View File

@ -1,9 +1,8 @@
#if MTOON_URP
using System;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public sealed class MToonOutlineRenderPass : ScriptableRenderPass
{

View File

@ -1,9 +1,8 @@
using System;
using UnityEngine;
using UnityEngine.Rendering;
using VRMShaders.VRM10.MToon10.Runtime;
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public sealed class MToonValidator
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public enum MToon10AlphaMode
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public enum MToon10DoubleSidedMode
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public static class MToon10EmissiveMapKeyword
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public static class MToon10NormalMapKeyword
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public enum MToon10OutlineMode
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public static class MToon10OutlineModeKeyword
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public static class MToon10ParameterMapKeyword
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public static class MToon10RimMapKeyword
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public enum MToon10TransparentWithZWriteMode
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public static class MToon10Meta
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public enum MToon10Prop
{

View File

@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public static class MToon10Properties
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public static class UnityAlphaModeKeyword
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public enum UnityAlphaToMaskMode
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public enum UnityCullMode
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public static class UnityRenderTag
{

View File

@ -1,4 +1,4 @@
namespace VRMShaders.VRM10.MToon10.Runtime
namespace VRM10.MToon10
{
public enum UnityZWriteMode
{

View File

@ -1,7 +1,6 @@
using NUnit.Framework;
using VRMShaders.VRM10.MToon10.Runtime;
namespace VRMShaders.VRM10.MToon10.Tests
namespace VRM10.MToon10.Tests
{
public sealed class MigrationTests
{

View File

@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using UniGLTF.Extensions.VRMC_vrm;
using UnityEngine;
using VRMShaders.VRM10.MToon10.Runtime;
using VRM10.MToon10;
namespace UniVRM10
{

View File

@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using UnityEngine;
using UniGLTF.Extensions.VRMC_vrm;
using VRMShaders.VRM10.MToon10.Runtime;
using VRM10.MToon10;
namespace UniVRM10

View File

@ -2,8 +2,8 @@
using UniGLTF;
using UniGLTF.Extensions.VRMC_materials_mtoon;
using UnityEngine;
using VRM10.MToon10;
using VRMShaders;
using VRMShaders.VRM10.MToon10.Runtime;
using ColorSpace = VRMShaders.ColorSpace;
namespace UniVRM10

View File

@ -4,8 +4,8 @@ using System.Linq;
using UniGLTF;
using UniGLTF.Extensions.VRMC_materials_mtoon;
using UnityEngine;
using VRM10.MToon10;
using VRMShaders;
using VRMShaders.VRM10.MToon10.Runtime;
using ColorSpace = VRMShaders.ColorSpace;
using OutlineWidthMode = UniGLTF.Extensions.VRMC_materials_mtoon.OutlineWidthMode;

View File

@ -2,8 +2,8 @@
using System.Linq;
using UniGLTF;
using UnityEngine;
using VRM10.MToon10;
using VRMShaders;
using VRMShaders.VRM10.MToon10.Runtime;
namespace UniVRM10
{

View File

@ -3,8 +3,8 @@ using System.Collections.Generic;
using UniGLTF;
using UniGLTF.Extensions.VRMC_materials_mtoon;
using UnityEngine;
using VRM10.MToon10;
using VRMShaders;
using VRMShaders.VRM10.MToon10.Runtime;
namespace UniVRM10
{

View File

@ -4,8 +4,8 @@ using UniGLTF;
using UniGLTF.Extensions.VRMC_materials_mtoon;
using UniJSON;
using UnityEngine;
using VRMShaders.VRM10.MToon10.Runtime;
using VRMShaders.VRM10.MToon10.Runtime.MToon0X;
using VRM10.MToon10;
using VRM10.MToon10.MToon0X;
using ColorSpace = VRMShaders.ColorSpace;
namespace UniVRM10

View File

@ -3,9 +3,10 @@ using System.Linq;
using UniGLTF;
using UniJSON;
using UnityEngine;
using VRM10.MToon10.MToon0X;
using VRMShaders;
using VRMShaders.VRM10.MToon10.Runtime.MToon0X;
using ColorSpace = VRMShaders.ColorSpace;
using MToon0XUtils = VRM10.MToon10.MToon0X.MToon0XUtils;
namespace UniVRM10
{