Class RenderViewKind
The kinds of view a material shader can tell apart through the RenderViewKind shader; the values match its
ViewKind* constants.
public static class RenderViewKind
- Inheritance
-
objectRenderViewKind
Remarks
MaterialRenderFeature writes the kind for the views of mesh materials only; sprites, the background, particles and UI are other root render features, where it is undefined.
Fields
Default
Any view that is not one of the kinds below (camera, prepass, VR eye, voxelization...).
public const uint Default = 0
Field Value
ShadowMap
A shadow map view (ShadowMapRenderView), whatever effect draws it.
public const uint ShadowMap = 1