This commit is contained in:
niko
2026-04-10 22:50:51 +02:00
parent 6d1607d5a2
commit f18d448581
17033 changed files with 2863270 additions and 0 deletions
@@ -0,0 +1,20 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x02000005 RID: 5
internal class AddressAttribute : Attribute
{
// Token: 0x04000008 RID: 8
public string RVA;
// Token: 0x04000009 RID: 9
public string Offset;
// Token: 0x0400000A RID: 10
public string VA;
// Token: 0x0400000B RID: 11
public string Slot;
}
}
@@ -0,0 +1,14 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x0200000A RID: 10
internal class AnalysisFailedException : Exception
{
// Token: 0x06000006 RID: 6 RVA: 0x00002058 File Offset: 0x00000258
public AnalysisFailedException(string message)
: base(message)
{
}
}
}
@@ -0,0 +1,17 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x02000007 RID: 7
internal class AttributeAttribute : Attribute
{
// Token: 0x0400000D RID: 13
public string Name;
// Token: 0x0400000E RID: 14
public string RVA;
// Token: 0x0400000F RID: 15
public string Offset;
}
}
@@ -0,0 +1,11 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x02000006 RID: 6
internal class FieldOffsetAttribute : Attribute
{
// Token: 0x0400000C RID: 12
public string Offset;
}
}
@@ -0,0 +1,11 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x02000008 RID: 8
internal class MetadataOffsetAttribute : Attribute
{
// Token: 0x04000010 RID: 16
public string Offset;
}
}
@@ -0,0 +1,11 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x02000009 RID: 9
internal class TokenAttribute : Attribute
{
// Token: 0x04000011 RID: 17
public string Token;
}
}
@@ -0,0 +1,4 @@
using System;
using System.Reflection;
[assembly: AssemblyVersion("0.0.0.0")]
@@ -0,0 +1,64 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{6964D65D-0CBB-4C42-A997-2E6589744D6D}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>Unity.RenderPipeline.Universal.ShaderLibrary</RootNamespace>
<AssemblyName>Unity.RenderPipeline.Universal.ShaderLibrary</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib>
</PropertyGroup>
<ItemGroup />
<ItemGroup>
<AppDesigner Include="Properties\" />
</ItemGroup>
<ItemGroup>
<Compile Include="Cpp2IlInjected\AddressAttribute.cs" />
<Compile Include="Cpp2IlInjected\AnalysisFailedException.cs" />
<Compile Include="Cpp2IlInjected\AttributeAttribute.cs" />
<Compile Include="Cpp2IlInjected\FieldOffsetAttribute.cs" />
<Compile Include="Cpp2IlInjected\MetadataOffsetAttribute.cs" />
<Compile Include="Cpp2IlInjected\TokenAttribute.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="UnityEngine\Rendering\Universal\ShaderInput.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\mscorlib\mscorlib.csproj">
<Project>{6964d65d-0cbb-4c42-a997-2e6589744d25}</Project>
<Name>mscorlib</Name>
</ProjectReference>
<ProjectReference Include="..\Unity.RenderPipelines.Core.Runtime\Unity.RenderPipelines.Core.Runtime.csproj">
<Project>{6964d65d-0cbb-4c42-a997-2e6589744d6e}</Project>
<Name>Unity.RenderPipelines.Core.Runtime</Name>
</ProjectReference>
<ProjectReference Include="..\UnityEngine.CoreModule\UnityEngine.CoreModule.csproj">
<Project>{6964d65d-0cbb-4c42-a997-2e6589744d7c}</Project>
<Name>UnityEngine.CoreModule</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
@@ -0,0 +1,57 @@
using System;
using Cpp2IlInjected;
namespace UnityEngine.Rendering.Universal
{
// Token: 0x02000002 RID: 2
[Token(Token = "0x2000002")]
public static class ShaderInput
{
// Token: 0x02000003 RID: 3
[Token(Token = "0x2000003")]
[GenerateHLSL(PackingRules.Exact, false, false, false, 1, false, false)]
public struct LightData
{
// Token: 0x04000001 RID: 1
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000001")]
public Vector4 position;
// Token: 0x04000002 RID: 2
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000002")]
public Vector4 color;
// Token: 0x04000003 RID: 3
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000003")]
public Vector4 attenuation;
// Token: 0x04000004 RID: 4
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000004")]
public Vector4 spotDirection;
// Token: 0x04000005 RID: 5
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000005")]
public Vector4 occlusionProbeChannels;
}
// Token: 0x02000004 RID: 4
[Token(Token = "0x2000004")]
[GenerateHLSL(PackingRules.Exact, false, false, false, 1, false, false)]
public struct ShadowData
{
// Token: 0x04000006 RID: 6
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000006")]
public Matrix4x4 worldToShadowMatrix;
// Token: 0x04000007 RID: 7
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000007")]
public Vector4 shadowParams;
}
}
}