Table of Contents

Class LightShadowMapTexture

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

An allocated shadow map texture associated to a light.

public class LightShadowMapTexture
Inheritance
LightShadowMapTexture
Derived

Fields

MaxRectangles

public const int MaxRectangles = 6

Field Value

int

Renderer

public ILightShadowMapRenderer Renderer

Field Value

ILightShadowMapRenderer

ShaderData

public ILightShadowMapShaderData ShaderData

Field Value

ILightShadowMapShaderData

Properties

Atlas

public ShadowMapAtlasTexture Atlas { get; }

Property Value

ShadowMapAtlasTexture

CascadeCount

public int CascadeCount { get; set; }

Property Value

int

CurrentMaxDistance

public float CurrentMaxDistance { get; set; }

Property Value

float

CurrentMinDistance

public float CurrentMinDistance { get; set; }

Property Value

float

FilterType

public Type FilterType { get; }

Property Value

Type

Light

public IDirectLight Light { get; }

Property Value

IDirectLight

RenderLight

public RenderLight RenderLight { get; }

Property Value

RenderLight

RenderView

public RenderView RenderView { get; }

Property Value

RenderView

Shadow

public LightShadowMap Shadow { get; }

Property Value

LightShadowMap

ShadowType

public LightShadowType ShadowType { get; }

Property Value

LightShadowType

Size

public int Size { get; }

Property Value

int

TextureId

public byte TextureId { get; }

Property Value

byte

Methods

GetRectangle(int)

public Rectangle GetRectangle(int i)

Parameters

i int

Returns

Rectangle

Initialize(RenderView, RenderLight, IDirectLight, LightShadowMap, int, ILightShadowMapRenderer)

public void Initialize(RenderView renderView, RenderLight renderLight, IDirectLight light, LightShadowMap shadowMap, int size, ILightShadowMapRenderer renderer)

Parameters

renderView RenderView
renderLight RenderLight
light IDirectLight
shadowMap LightShadowMap
size int
renderer ILightShadowMapRenderer

SetRectangle(int, Rectangle)

public void SetRectangle(int i, Rectangle value)

Parameters

i int
value Rectangle