Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

122 lines
3.7 KiB
C#

using System;
using Cpp2IlInjected;
using Unity.Burst;
using Unity.Collections;
using Unity.Jobs;
using Unity.Mathematics;
using UnityEngine;
namespace ClusterLOD
{
// Token: 0x02001279 RID: 4729
[Token(Token = "0x2001279")]
[BurstCompile]
public struct ClusterLODMergeVertsJob : IJob
{
// Token: 0x06006B59 RID: 27481 RVA: 0x0017D038 File Offset: 0x0017B238
[Token(Token = "0x6006B59")]
[Address(RVA = "0x1464B50", Offset = "0x1463950", VA = "0x181464B50")]
public ClusterLODMergeVertsJob(PCIKHFEIHGO mesh, NativeList<float3> origVerts, NativeMultiHashMap<int, int> vertexMap, NativeArray<int> indexRemap, Vector3 centerPos, float resolution)
{
NativeList<float3> ddpnlakckdp = mesh.DDPNLAKCKDP;
this.verts = ddpnlakckdp;
NativeArray<float3> cdpiecocian = mesh.CDPIECOCIAN;
this.normals = cdpiecocian;
NativeArray<float4> nmfapcbmggf = mesh.NMFAPCBMGGF;
this.tangents = nmfapcbmggf;
NativeArray<float2> maeaklfbpmo = mesh.MAEAKLFBPMO;
this.UVs = maeaklfbpmo;
NativeArray<float4> pjnfmocjcal = mesh.PJNFMOCJCAL;
this.materialIndices = pjnfmocjcal;
NativeList<int> elflbeckfef = mesh.ELFLBECKFEF;
this.indices = elflbeckfef;
float3 @float;
float z = @float.z;
this.resolution = (float)0;
this.centerPos.z = z;
}
// Token: 0x06006B5A RID: 27482 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6006B5A")]
[Address(RVA = "0x1464860", Offset = "0x1463660", VA = "0x181464860")]
private int GetKey(float3 pos)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06006B5B RID: 27483 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6006B5B")]
[Address(RVA = "0x14648C0", Offset = "0x14636C0", VA = "0x1814648C0")]
private int GetMatch(int i, int key)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06006B5C RID: 27484 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6006B5C")]
[Address(RVA = "0x1464470", Offset = "0x1463270", VA = "0x181464470", Slot = "4")]
public void Execute()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x040047B6 RID: 18358
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40047B6")]
private NativeList<float3> verts;
// Token: 0x040047B7 RID: 18359
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40047B7")]
private NativeArray<float3> normals;
// Token: 0x040047B8 RID: 18360
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40047B8")]
private NativeArray<float4> tangents;
// Token: 0x040047B9 RID: 18361
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x40047B9")]
private NativeArray<float2> UVs;
// Token: 0x040047BA RID: 18362
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x40047BA")]
private NativeArray<float4> materialIndices;
// Token: 0x040047BB RID: 18363
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x40047BB")]
private NativeList<int> indices;
// Token: 0x040047BC RID: 18364
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x40047BC")]
[ReadOnly]
private NativeList<float3> origVerts;
// Token: 0x040047BD RID: 18365
[FieldOffset(Offset = "0x70")]
[Token(Token = "0x40047BD")]
[ReadOnly]
private float3 centerPos;
// Token: 0x040047BE RID: 18366
[FieldOffset(Offset = "0x7C")]
[Token(Token = "0x40047BE")]
[ReadOnly]
private float resolution;
// Token: 0x040047BF RID: 18367
[FieldOffset(Offset = "0x80")]
[Token(Token = "0x40047BF")]
private NativeMultiHashMap<int, int> vertexMap;
// Token: 0x040047C0 RID: 18368
[FieldOffset(Offset = "0x90")]
[Token(Token = "0x40047C0")]
private NativeArray<int> indexRemap;
}
}