# OnAddRenderCommands Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.Occlusion.NsdkOcclusionExtension.OnAddRenderCommands/ OnAddRenderCommands --- ## Declaration protected override bool OnAddRenderCommands(CommandBuffer cmd, Material mat) ### Parameters | Name | Type | Summary | | --- | --- | --- | | cmd | CommandBuffer | - | | mat | Material | - | ---