muffin v7.5.5
This commit is contained in:
parent
a8f2c1df37
commit
6266f9e6b7
110 changed files with 14907 additions and 6073 deletions
47
Auspex/Auspex.Lighting.Internal/LightRenderData.cs
Normal file
47
Auspex/Auspex.Lighting.Internal/LightRenderData.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System.Numerics;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Auspex.Lighting.Internal;
|
||||
|
||||
[StructLayout(LayoutKind.Explicit, Size = 160)]
|
||||
internal struct LightRenderData
|
||||
{
|
||||
[FieldOffset(24)]
|
||||
public AxLightFlags Flags;
|
||||
|
||||
[FieldOffset(28)]
|
||||
public AxLightType EmissionType;
|
||||
|
||||
[FieldOffset(32)]
|
||||
public unsafe LightTransform* Transform;
|
||||
|
||||
[FieldOffset(40)]
|
||||
public Vector3 Color;
|
||||
|
||||
[FieldOffset(52)]
|
||||
public float Intensity;
|
||||
|
||||
[FieldOffset(96)]
|
||||
public float ShadowPlaneNear;
|
||||
|
||||
[FieldOffset(100)]
|
||||
public float ShadowPlaneFar;
|
||||
|
||||
[FieldOffset(104)]
|
||||
public AxFalloffType FalloffType;
|
||||
|
||||
[FieldOffset(128)]
|
||||
public float Falloff;
|
||||
|
||||
[FieldOffset(132)]
|
||||
public float LightAngle;
|
||||
|
||||
[FieldOffset(136)]
|
||||
public float FalloffAngle;
|
||||
|
||||
[FieldOffset(140)]
|
||||
public float Range;
|
||||
|
||||
[FieldOffset(144)]
|
||||
public float CharacterShadowRange;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue