bsdf  mask_bsdf(bsdf b, int mask)
                    
                    
                
            
            
                b
            
            
        
BSDF to mask.
            
                mask
            
            
        
A bitmask indicating which types of shading component bounces to evaluate.
See bouncemask for information on component label bitmasks.
Examples ¶
// outF will have every component from inF except refraction bsdf outF = mask_bsdf(inF, PBR_ALL_MASK & ~PBR_REFRACT_MASK);
| See also | |
| bsdf |  | 
| pbr |  |