Netcode Bootstrap

This commit is contained in:
Luis Gonzalez
2026-05-31 14:27:52 -07:00
parent 99d8d2d2a9
commit 7fa77ce821
1813 changed files with 2921554 additions and 84 deletions
@@ -0,0 +1,38 @@
using Unity.Entities;
using Unity.Mathematics;
using Unity.Rendering;
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
namespace Rukhanka
{
// Just a copy of EG SkinMatrix
public struct SkinMatrix: IBufferElementData
{
public float3x4 Value;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Just a copy of EG BlendShapeWeight
public struct BlendShapeWeight : IBufferElementData
{
public float Value;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#if RUKHANKA_ENABLE_DEFORMATION_MOTION_VECTORS
[MaterialProperty("_DeformationParamsForMotionVectors")]
public struct DeformedMeshIndex: IComponentData
{
public uint4 Value;
}
#else
[MaterialProperty("_DeformedMeshIndex")]
public struct DeformedMeshIndex: IComponentData
{
public uint Value;
}
#endif
}