Class BackgroundBlurWidgetEffect
  A widget effect shader that blurs the area behind a widget's background.
    Inheritance
    
    BackgroundBlurWidgetEffect
   
  
  
  
  Assembly: SociallyDistant.Framework.dll
  
  
    public sealed class BackgroundBlurWidgetEffect : IWidgetEffect, IEffect, IDisposable
   
  Properties
  
  
  
  
  Declaration
  
    public int PassesCount { get; }
   
  Property Value
  
  Methods
  
  
  
  
  Declaration
  
    public void AfterRebuildGeometry(Widget widget, GuiRenderer renderer)
   
  Parameters
  
  
  
  
  
  Declaration
  
    public void BeforeRebuildGeometry(Widget widget, GuiRenderer renderer, bool isGeometryDirty)
   
  Parameters
  
  
  
  Marks the entire screen, from the perspective of the blur shader, as clean.
Declaration
  
    public static void CleanScreen()
   
  
  
  
  
  Declaration
  
    public void DebugInspect(IInspector inspector, Widget widgetBeingInspected)
   
  Parameters
  
  
  
  Marks the entire screen, from the perspective of the blur shader, as dirty.
Declaration
  
    public static void DirtyWholeScreen()
   
  
  
  Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
  
  
  GetEffect(IGameContext)
  
  
  Declaration
  
    public static BackgroundBlurWidgetEffect GetEffect(IGameContext context)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | IGameContext | context | Socially Distant's game context, for loading the shader. | 
    
  
  Returns
  
  
  
  
  
  Declaration
  
    public void SetTransformMatrix(Matrix transformMatrix)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Matrix | transformMatrix |  | 
    
  
  
  
  
  
  Declaration
  
    public void UpdateOpacity(float opacity)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | float | opacity |  | 
    
  
  
  
  
  
  Declaration
  
    public void UpdateParameters(Widget widget, GuiRenderer renderer)
   
  Parameters
  
  
  
  
  
  Declaration
  
    public void UpdatePositionOffset(Point positionOffset)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Point | positionOffset |  | 
    
  
  
  
  
  
  Declaration
  
    public void Use(int pass)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | int | pass |  | 
    
  
  Implements