getbounces VEX function

Contexts: displace, fog, light, shadow, surface

See also: nbouncetypes

  1. int getbounces(bsdf b)

Returns the bounce mask for the specified bsdf.

The following bitmask constants are defined in pbr.h: