Table of Contents

Class ShadowMapAtlasTexture

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

An atlas of shadow maps.

public class ShadowMapAtlasTexture
Inheritance
ShadowMapAtlasTexture

Constructors

ShadowMapAtlasTexture(Texture, int)

public ShadowMapAtlasTexture(Texture texture, int textureId)

Parameters

texture Texture
textureId int

Fields

FilterType

public Type FilterType

Field Value

Type

Height

public readonly int Height

Field Value

int

Texture

public readonly Texture Texture

Field Value

Texture

Width

public readonly int Width

Field Value

int

Properties

Id

public int Id { get; }

Property Value

int

Methods

Clear()

public void Clear()

Insert(int, int, ref Rectangle)

public bool Insert(int width, int height, ref Rectangle bestRectangle)

Parameters

width int
height int
bestRectangle Rectangle

Returns

bool

MarkClearNeeded()

public void MarkClearNeeded()

PrepareAsRenderTarget(CommandList)

public void PrepareAsRenderTarget(CommandList commandList)

Parameters

commandList CommandList

PrepareAsShaderResourceView(CommandList)

public void PrepareAsShaderResourceView(CommandList commandList)

Parameters

commandList CommandList

TryInsert(int, int, int, InsertRectangleCallback)

public bool TryInsert(int width, int height, int count, GuillotinePacker.InsertRectangleCallback inserted)

Parameters

width int
height int
count int
inserted GuillotinePacker.InsertRectangleCallback

Returns

bool