Class ShadowMapAtlasTexture
An atlas of shadow maps.
public class ShadowMapAtlasTexture
- Inheritance
-
ShadowMapAtlasTexture
Constructors
ShadowMapAtlasTexture(Texture, int)
public ShadowMapAtlasTexture(Texture texture, int textureId)
Parameters
Fields
FilterType
public Type FilterType
Field Value
Height
public readonly int Height
Field Value
Texture
public readonly Texture Texture
Field Value
Width
public readonly int Width
Field Value
Properties
Id
public int Id { get; }
Property Value
Methods
Clear()
public void Clear()
Insert(int, int, ref Rectangle)
public bool Insert(int width, int height, ref Rectangle bestRectangle)
Parameters
Returns
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
intheight
intcount
intinserted
GuillotinePacker.InsertRectangleCallback