extension dst<T> : IBackwardDifferentiable<dst<T>>
Conforms to: IBackwardDifferentiable<dst<T >>
Conditionally conforms to: IBackwardDifferentiable<dst<T >>, IForwardDifferentiable<dst<T >>
Deprecated Feature
The feature described in this page is marked as deprecated, and may be removed in a future release. Users are advised to avoid using this feature, and to migrate to a newer alternative.
Description
Helper for computing distance terms for lighting (obsolete). Use the subtraction operator ‘-‘ instead.
Generic Parameters
T: __BuiltinFloatingPointType
Methods
Conditional Conformances
Conformance to IBackwardDifferentiable<dst<T>>
<T> additionally conforms to IBackwardDifferentiable<dst<T>> when the following conditions are met:
- T : __BuiltinFloatingPointType
Conformance to IForwardDifferentiable<dst<T>>
<T>additionally conforms toIForwardDifferentiable<dst<T>>when the following conditions are met: - T : __BuiltinFloatingPointType