FRayTracingMaterialGatheringContext::BuildInstanceMaskAndFlags