Class GPULightTypeExtension
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
public static class GPULightTypeExtension
Methods
IsAreaLight(GPULightType)
Declaration
public static bool IsAreaLight(this GPULightType lightType)
Parameters
Type | Name | Description |
---|---|---|
GPULightType | lightType |
Returns
Type | Description |
---|---|
Boolean |
IsSpot(GPULightType)
Declaration
public static bool IsSpot(this GPULightType lightType)
Parameters
Type | Name | Description |
---|---|---|
GPULightType | lightType |
Returns
Type | Description |
---|---|
Boolean |