Struct ShadowData
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Syntax
[GenerateHLSL(PackingRules.Exact, true, false, 1)]
public struct ShadowData
Fields
_pad
Declaration
Field Value
edgeTolerance
Declaration
public float edgeTolerance
Field Value
Type |
Description |
System.Single |
|
id
Declaration
Field Value
Type |
Description |
System.UInt32 |
|
normalBias
Declaration
public Vector4 normalBias
Field Value
payloadOffset
Declaration
public uint payloadOffset
Field Value
Type |
Description |
System.UInt32 |
|
pos
Declaration
Field Value
proj
Declaration
Field Value
rot0
Declaration
Field Value
rot1
Declaration
Field Value
rot2
Declaration
Field Value
scaleOffset
Declaration
public Vector4 scaleOffset
Field Value
shadowToWorld
Declaration
public Matrix4x4 shadowToWorld
Field Value
Type |
Description |
Matrix4x4 |
|
shadowType
Declaration
Field Value
Type |
Description |
System.UInt32 |
|
slice
Declaration
Field Value
Type |
Description |
System.Single |
|
texelSizeRcp
Declaration
public Vector4 texelSizeRcp
Field Value
textureSize
Declaration
public Vector4 textureSize
Field Value
viewBias
Declaration
Field Value
Methods
PackShadowmapId(UInt32, UInt32)
Declaration
public void PackShadowmapId(uint texIdx, uint sampIdx)
Parameters
Type |
Name |
Description |
System.UInt32 |
texIdx |
|
System.UInt32 |
sampIdx |
|
PackShadowType(GPUShadowType, GPUShadowAlgorithm)
Declaration
public void PackShadowType(GPUShadowType type, GPUShadowAlgorithm algorithm)
Parameters
UnpackShadowmapId(out UInt32, out UInt32)
Declaration
public void UnpackShadowmapId(out uint texIdx, out uint sampIdx)
Parameters
Type |
Name |
Description |
System.UInt32 |
texIdx |
|
System.UInt32 |
sampIdx |
|