28 lines
401 B
C#
28 lines
401 B
C#
|
using System;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace AmplifyBloom
|
||
|
{
|
||
|
[Serializable]
|
||
|
public class AmplifyPassCache
|
||
|
{
|
||
|
[SerializeField]
|
||
|
internal Vector4[] Offsets;
|
||
|
|
||
|
[SerializeField]
|
||
|
internal Vector4[] Weights;
|
||
|
|
||
|
public AmplifyPassCache()
|
||
|
{
|
||
|
this.Offsets = new Vector4[16];
|
||
|
this.Weights = new Vector4[16];
|
||
|
}
|
||
|
|
||
|
public void Destroy()
|
||
|
{
|
||
|
this.Offsets = null;
|
||
|
this.Weights = null;
|
||
|
}
|
||
|
}
|
||
|
}
|