setDepthClamp method

  1. @override
void setDepthClamp({
  1. required bool enabled,
})
override

Whether the next draws clamp depth to the range instead of clipping against the near and far planes — DeviceFeature.depthClamp. Off at the start of every pass. What a shadow caster behind the light's near plane wants.

Implementation

@override
void setDepthClamp({required bool enabled}) =>
    _gated(DeviceFeature.depthClamp, 'setDepthClamp', enabled);