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()
Syntax
public class ShadowRegistry
Constructors
ShadowRegistry()
Declaration
Methods
ClearRegistry()
Declaration
public void ClearRegistry()
Draw(Light)
Declaration
public void Draw(Light l)
Parameters
Type |
Name |
Description |
Light |
l |
|
GetGlobalShadowOverride(GPUShadowType, ref GPUShadowAlgorithm)
Declaration
public bool GetGlobalShadowOverride(GPUShadowType shadowType, ref GPUShadowAlgorithm algo)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GetShadowLightType(Light)
Declaration
public GPUShadowType GetShadowLightType(Light l)
Parameters
Type |
Name |
Description |
Light |
l |
|
Returns
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
SetGlobalShadowOverride(GPUShadowType, ShadowAlgorithm, ShadowVariant, ShadowPrecision, Boolean)
Declaration
public void SetGlobalShadowOverride(GPUShadowType shadowType, ShadowAlgorithm shadowAlgorithm, ShadowVariant shadowVariant, ShadowPrecision shadowPrecision, bool enable)
Parameters
SetShadowLightTypeDelegate(ShadowRegistry.ShadowLightTypeDelegate)
Declaration
public void SetShadowLightTypeDelegate(ShadowRegistry.ShadowLightTypeDelegate del)
Parameters
ShadowLightType(Light)
Declaration
public static GPUShadowType ShadowLightType(Light l)
Parameters
Type |
Name |
Description |
Light |
l |
|
Returns