Method Initialize
Initialize(Func<XRPassCreateInfo, XRPass>, Shader, Shader)
Use this method to assign the shaders that will be used to render occlusion mesh for each XRPass and the final mirror view.
Declaration
public static void Initialize(Func<XRPassCreateInfo, XRPass> passAllocator, Shader occlusionMeshPS, Shader mirrorViewPS)
Parameters
Type | Name | Description |
---|---|---|
Func<XRPassCreateInfo, XRPass> | passAllocator | |
Shader | occlusionMeshPS | |
Shader | mirrorViewPS |