b486678290
Library -Artifacts
21 lines
542 B
C#
21 lines
542 B
C#
namespace UnityEngine.Rendering.Universal.Internal
|
|
{
|
|
// Stencil usage for deferred renderer.
|
|
enum StencilUsage
|
|
{
|
|
// Bits [0,3] are reserved for users
|
|
UserMask = 0b_0000_1111,
|
|
|
|
// Bit [4] is used for stenciling light shapes.
|
|
StencilLight = 0b_0001_0000,
|
|
|
|
// Bits [5,6] are used for material types.
|
|
MaterialMask = 0b_0110_0000,
|
|
MaterialUnlit = 0b_0000_0000,
|
|
MaterialLit = 0b_0010_0000,
|
|
MaterialSimpleLit = 0b_0100_0000
|
|
|
|
// Bit [7] is reserved.
|
|
}
|
|
}
|