Class ShadowRegistry
Inheritance
System.Object
ShadowRegistry
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Experimental.Rendering
Syntax
public class ShadowRegistry
Constructors
ShadowRegistry()
Declaration
public ShadowRegistry()
Methods
ClearRegistry()
Declaration
public void ClearRegistry()
Draw(Light)
Declaration
public void Draw(Light l)
Parameters
| Type | Name | Description |
|---|---|---|
| Light | l |
GetShadowLightType(Light)
Declaration
public GPUShadowType GetShadowLightType(Light l)
Parameters
| Type | Name | Description |
|---|---|---|
| Light | l |
Returns
| Type | Description |
|---|---|
| GPUShadowType |
Register(GPUShadowType, ShadowPrecision, ShadowAlgorithm, String, ShadowVariant[], String[], ShadowRegistry.VariantDelegate[])
Declaration
public void Register(GPUShadowType type, ShadowPrecision precision, ShadowAlgorithm algorithm, string algorithmDescriptor, ShadowVariant[] variants, string[] variantDescriptors, ShadowRegistry.VariantDelegate[] variantDelegates)
Parameters
| Type | Name | Description |
|---|---|---|
| GPUShadowType | type | |
| ShadowPrecision | precision | |
| ShadowAlgorithm | algorithm | |
| System.String | algorithmDescriptor | |
| ShadowVariant[] | variants | |
| System.String[] | variantDescriptors | |
| ShadowRegistry.VariantDelegate[] | variantDelegates |
SetGlobalShadowOverride(GPUShadowType, ShadowAlgorithm, ShadowVariant, ShadowPrecision, Boolean)
Declaration
public void SetGlobalShadowOverride(GPUShadowType shadowType, ShadowAlgorithm shadowAlgorithm, ShadowVariant shadowVariant, ShadowPrecision shadowPrecision, bool enable)
Parameters
| Type | Name | Description |
|---|---|---|
| GPUShadowType | shadowType | |
| ShadowAlgorithm | shadowAlgorithm | |
| ShadowVariant | shadowVariant | |
| ShadowPrecision | shadowPrecision | |
| System.Boolean | enable |
SetShadowLightTypeDelegate(ShadowRegistry.ShadowLightTypeDelegate)
Declaration
public void SetShadowLightTypeDelegate(ShadowRegistry.ShadowLightTypeDelegate del)
Parameters
| Type | Name | Description |
|---|---|---|
| ShadowRegistry.ShadowLightTypeDelegate | del |
ShadowLightType(Light)
Declaration
public static GPUShadowType ShadowLightType(Light l)
Parameters
| Type | Name | Description |
|---|---|---|
| Light | l |
Returns
| Type | Description |
|---|---|
| GPUShadowType |