Class LightShadowMapTexture
An allocated shadow map texture associated to a light.
public class LightShadowMapTexture
- Inheritance
-
LightShadowMapTexture
- Derived
Fields
MaxRectangles
public const int MaxRectangles = 6
Field Value
Renderer
public ILightShadowMapRenderer Renderer
Field Value
ShaderData
public ILightShadowMapShaderData ShaderData
Field Value
Properties
Atlas
public ShadowMapAtlasTexture Atlas { get; }
Property Value
CascadeCount
public int CascadeCount { get; set; }
Property Value
CurrentMaxDistance
public float CurrentMaxDistance { get; set; }
Property Value
CurrentMinDistance
public float CurrentMinDistance { get; set; }
Property Value
FilterType
public Type FilterType { get; }
Property Value
Light
public IDirectLight Light { get; }
Property Value
RenderLight
public RenderLight RenderLight { get; }
Property Value
RenderView
public RenderView RenderView { get; }
Property Value
Shadow
public LightShadowMap Shadow { get; }
Property Value
ShadowType
public LightShadowType ShadowType { get; }
Property Value
Size
public int Size { get; }
Property Value
TextureId
public byte TextureId { get; }
Property Value
Methods
GetRectangle(int)
public Rectangle GetRectangle(int i)
Parameters
i
int
Returns
Initialize(RenderView, RenderLight, IDirectLight, LightShadowMap, int, ILightShadowMapRenderer)
public void Initialize(RenderView renderView, RenderLight renderLight, IDirectLight light, LightShadowMap shadowMap, int size, ILightShadowMapRenderer renderer)
Parameters
renderView
RenderViewrenderLight
RenderLightlight
IDirectLightshadowMap
LightShadowMapsize
intrenderer
ILightShadowMapRenderer
SetRectangle(int, Rectangle)
public void SetRectangle(int i, Rectangle value)