Struct ShadowAtlasRegion ​
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Describes the position and size of a shadow map region within the atlas texture.
csharp
public record struct ShadowAtlasRegion : IEquatable<ShadowAtlasRegion>Implements ​
Constructors ​
ShadowAtlasRegion(int, int, int, int) ​
Describes the position and size of a shadow map region within the atlas texture.
csharp
public ShadowAtlasRegion(int X, int Y, int Width, int Height)Parameters ​
X int
Y int
Width int
Height int
Properties ​
Height ​
csharp
public int Height { readonly get; set; }Property Value ​
IsValid ​
Gets whether this region has valid non-zero dimensions.
csharp
public readonly bool IsValid { get; }Property Value ​
Width ​
csharp
public int Width { readonly get; set; }Property Value ​
X ​
csharp
public int X { readonly get; set; }Property Value ​
Y ​
csharp
public int Y { readonly get; set; }
