[DF-2992] add helper function for fill mode manipulation
Merge branch 'origin/feature-integration-new-materials'