LightShadowMapShaderGroupDataBase Class
              
              
              Namespace: Stride.Rendering.Shadows
              Assembly: Stride.Rendering.dll
              
              
              Provides basic functionality for shadow map shader groups with a single shader source and a filter based on the LightShadowType
 
              
              
              
                 System.Object →  
                LightShadowMapShaderGroupDataBase
              
              
                 Derived from LightShadowMapShaderGroupDataBase: 
              
              
              
              
              
                public abstract class LightShadowMapShaderGroupDataBase : ILightShadowMapShaderGroupData
               
              
              
              
              
              
                  
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Constructors
              
                
              
              
              
              
              
              LightShadowMapShaderGroupDataBase(LightShadowType)
              
              
              
              
              
                public LightShadowMapShaderGroupDataBase(LightShadowType shadowType)
               
              
              Parameters
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Properties
              
                
              
              
              
              
              
              FilterMemberName
              
              The first member name argument passed to the instantiated filter
 
              
              
              
                protected virtual string FilterMemberName { get; }
               
              
              Property Value
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.String | 
                     | 
                  
                
              
              
              
              
              
              
              ShadowShader
              
              
              
              
              
                public ShaderMixinSource ShadowShader { get; }
               
              
              Property Value
              
              
              
              
              
              
              ShadowType
              
              
              
              
              
                public LightShadowType ShadowType { get; }
               
              
              Property Value
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Methods
              
                
              
              
              
              
              
              ApplyDrawParameters(RenderDrawContext, ParameterCollection, FastListStruct<LightDynamicEntry>, ref BoundingBoxExt)
              
              
              
              
              
                public virtual void ApplyDrawParameters(RenderDrawContext context, ParameterCollection parameters, FastListStruct<LightDynamicEntry> currentLights, ref BoundingBoxExt boundingBox)
               
              
              Parameters
              
              
              
              
              
              
              ApplyShader(ShaderMixinSource)
              
              
              
              
              
                public virtual void ApplyShader(ShaderMixinSource mixin)
               
              
              Parameters
              
              
              
              
              
              
              ApplyViewParameters(RenderDrawContext, ParameterCollection, FastListStruct<LightDynamicEntry>)
              
              
              
              
              
                public virtual void ApplyViewParameters(RenderDrawContext context, ParameterCollection parameters, FastListStruct<LightDynamicEntry> currentLights)
               
              
              Parameters
              
              
              
              
              
              
              CreateShaderSource(Int32)
              
              Creates the shader source that performs shadowing
 
              
              
              
                public abstract ShaderClassSource CreateShaderSource(int lightCurrentCount)
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                    lightCurrentCount | 
                     | 
                  
                
              
              Returns
              
              
              
              
              
              
              UpdateLayout(String)
              
              
              
              
              
                public virtual void UpdateLayout(string compositionName)
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | System.String | 
                    compositionName | 
                     | 
                  
                
              
              
              
              
              
              
              UpdateLightCount(Int32, Int32)
              
              
              
              
              
                public virtual void UpdateLightCount(int lightLastCount, int lightCurrentCount)
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                    lightLastCount | 
                     | 
                  
                  
                    | System.Int32 | 
                    lightCurrentCount | 
                     | 
                  
                
              
              
              
 
              
               
              
              
              
              
              Extension Methods