Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ShadowMapAtlasTexture Class

    Namespace: Stride.Rendering.Shadows
    Assembly: Stride.Rendering.dll

    An atlas of shadow maps.

    System.Object → ShadowMapAtlasTexture
    Derived from ShadowMapAtlasTexture:

    public class ShadowMapAtlasTexture
    Name Description
    Constructors
    ShadowMapAtlasTexture(Texture, Int32)
    Fields
    FilterType
    Height
    Texture
    Width
    Properties
    Id
    Methods
    Clear()
    Insert(Int32, Int32, ref Rectangle)
    MarkClearNeeded()
    PrepareAsRenderTarget(CommandList)
    PrepareAsShaderResourceView(CommandList)
    TryInsert(Int32, Int32, Int32, GuillotinePacker.InsertRectangleCallback)
    | 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

    public Type 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
    Type Description
    Texture

    Width

    public readonly int Width
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Properties


    Id

    public int Id { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Methods


    Clear()

    public void 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
    Type Name Description
    CommandList commandList

    PrepareAsShaderResourceView(CommandList)

    public void PrepareAsShaderResourceView(CommandList commandList)
    Parameters
    Type Name Description
    CommandList commandList

    TryInsert(Int32, Int32, Int32, GuillotinePacker.InsertRectangleCallback)

    public bool TryInsert(int width, int height, int count, GuillotinePacker.InsertRectangleCallback inserted)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height
    System.Int32 count
    GuillotinePacker.InsertRectangleCallback inserted
    Returns
    Type Description
    System.Boolean

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation