ShadowMapAtlasTexture Class
              
              
              Namespace: Stride.Rendering.Shadows
              Assembly: Stride.Rendering.dll
              
              
              
              
              
              
                 System.Object →  
                ShadowMapAtlasTexture
              
              
                 Derived from ShadowMapAtlasTexture: 
              
              
              
              
              
                public class ShadowMapAtlasTexture
               
              
              
              
              
              
                  
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Constructors
              
                
              
              
              
              
              
              ShadowMapAtlasTexture(Texture, Int32)
              
              
              
              
              
                public ShadowMapAtlasTexture(Texture texture, int textureId)
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | Texture | 
                    texture | 
                     | 
                  
                  
                    | System.Int32 | 
                    textureId | 
                     | 
                  
                
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Fields
              
                
              
              
              
              
              FilterType
              
              
              
              
              
              
              Field Value
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Type | 
                     | 
                  
                
              
              
              
              
              
              Height
              
              
              
              
              
                public readonly int Height
               
              
              Field Value
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                     | 
                  
                
              
              
              
              
              
              Texture
              
              
              
              
              
                public readonly Texture Texture
               
              
              Field Value
              
              
              
              
              
              Width
              
              
              
              
              
                public readonly int Width
               
              
              Field Value
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                     | 
                  
                
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Properties
              
                
              
              
              
              
              
              Id
              
              
              
              
              
              
              Property Value
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                     | 
                  
                
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Methods
              
                
              
              
              
              
              
              Clear()
              
              
              
              
              
              
              
              
              
              
              
              Insert(Int32, Int32, ref Rectangle)
              
              
              
              
              
                public bool Insert(int width, int height, ref Rectangle bestRectangle)
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                    width | 
                     | 
                  
                  
                    | System.Int32 | 
                    height | 
                     | 
                  
                  
                    | Rectangle | 
                    bestRectangle | 
                     | 
                  
                
              
              Returns
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Boolean | 
                     | 
                  
                
              
              
              
              
              
              
              MarkClearNeeded()
              
              
              
              
              
                public void MarkClearNeeded()
               
              
              
              
              
              
              
              PrepareAsRenderTarget(CommandList)
              
              
              
              
              
                public void PrepareAsRenderTarget(CommandList commandList)
               
              
              Parameters
              
              
              
              
              
              
              PrepareAsShaderResourceView(CommandList)
              
              
              
              
              
                public void PrepareAsShaderResourceView(CommandList commandList)
               
              
              Parameters
              
              
              
              
              
              
              TryInsert(Int32, Int32, Int32, GuillotinePacker.InsertRectangleCallback)
              
              
              
              
              
                public bool TryInsert(int width, int height, int count, GuillotinePacker.InsertRectangleCallback inserted)
               
              
              Parameters
              
              Returns
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Boolean | 
                     | 
                  
                
              
              
              
 
              
               
              
              
              
              
              Extension Methods