You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
2.0 KiB
44 lines
2.0 KiB
namespace UnityEditor.VFX
|
|
{
|
|
// TODO Tmp Just map the task types from bindings so that the enum is accessible from outside the package (For HDRP)
|
|
enum VFXTaskType
|
|
{
|
|
None = UnityEngine.VFX.VFXTaskType.None,
|
|
|
|
Spawner = UnityEngine.VFX.VFXTaskType.Spawner,
|
|
Initialize = UnityEngine.VFX.VFXTaskType.Initialize,
|
|
Update = UnityEngine.VFX.VFXTaskType.Update,
|
|
Output = UnityEngine.VFX.VFXTaskType.Output,
|
|
|
|
// updates
|
|
CameraSort = UnityEngine.VFX.VFXTaskType.CameraSort,
|
|
GlobalSort = UnityEngine.VFX.VFXTaskType.GlobalSort,
|
|
PerCameraUpdate = UnityEngine.VFX.VFXTaskType.PerCameraUpdate,
|
|
PerOutputSort = UnityEngine.VFX.VFXTaskType.PerOutputSort,
|
|
|
|
// outputs
|
|
ParticlePointOutput = UnityEngine.VFX.VFXTaskType.ParticlePointOutput,
|
|
ParticleLineOutput = UnityEngine.VFX.VFXTaskType.ParticleLineOutput,
|
|
ParticleQuadOutput = UnityEngine.VFX.VFXTaskType.ParticleQuadOutput,
|
|
ParticleHexahedronOutput = UnityEngine.VFX.VFXTaskType.ParticleHexahedronOutput,
|
|
ParticleMeshOutput = UnityEngine.VFX.VFXTaskType.ParticleMeshOutput,
|
|
ParticleTriangleOutput = UnityEngine.VFX.VFXTaskType.ParticleTriangleOutput,
|
|
ParticleOctagonOutput = UnityEngine.VFX.VFXTaskType.ParticleOctagonOutput,
|
|
|
|
// spawners
|
|
ConstantRateSpawner = UnityEngine.VFX.VFXTaskType.ConstantRateSpawner,
|
|
BurstSpawner = UnityEngine.VFX.VFXTaskType.BurstSpawner,
|
|
PeriodicBurstSpawner = UnityEngine.VFX.VFXTaskType.PeriodicBurstSpawner,
|
|
VariableRateSpawner = UnityEngine.VFX.VFXTaskType.VariableRateSpawner,
|
|
CustomCallbackSpawner = UnityEngine.VFX.VFXTaskType.CustomCallbackSpawner,
|
|
SetAttributeSpawner = UnityEngine.VFX.VFXTaskType.SetAttributeSpawner,
|
|
}
|
|
}
|
|
|
|
/*namespace UnityEngine.Experimental.VFX
|
|
{
|
|
class VFXTaskTypeExtension
|
|
{
|
|
public static implicit operator VFXTaskType(UnityEditor.VFX.VFXTaskType taskType) => (VFXTaskType)taskType;
|
|
}
|
|
}*/
|