Enum SRPLensFlareType
SRPLensFlareType which can be an image of a procedural shape If change order or add new member, need to update preview shader: LensFlareDataDrivenPreview.shader
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
[GenerateHLSL(PackingRules.Exact, true, false, false, 1, false, false, false, -1, "C:\\temp\\com.unity.render-pipelines.core@17.4\\Packages\\com.unity.render-pipelines.core\\Runtime\\PostProcessing\\LensFlareDataSRP.cs")]
public enum SRPLensFlareType
Fields
| Name | Description |
|---|---|
| Circle | Procedural Circle |
| Image | Image from a file or a RenderTexture |
| LensFlareDataSRP | Hoop |
| Polygon | Polygon |
| Ring | shape as a ring |