ScaleSphericalHarmonicsL2
Scale an array of SphericalHarmonicsL2 probes element-wise.
読み終わるまでの所要時間 1 分最終更新 3時間前
Definition
- Type: Method
- Namespace: UnityEngine.LightTransport.PostProcessing
- Assembly: UnityEngine.CoreModule
bool ScaleSphericalHarmonicsL2(IDeviceContext context, BufferSlice<SphericalHarmonicsL2> shIn, BufferSlice<SphericalHarmonicsL2> shOut, int probeCount, float scale)
Parameters
Device context.
Source buffer of SphericalHarmonicsL2 probes to scale.
Destination buffer where the scaled SphericalHarmonicsL2 probes are written.
Number of SphericalHarmonicsL2 probes to scale.
Scaling factor.
Returns
Type | Description |
|---|---|
| bool | True if the operation was successfully added to the command queue on the context. |
Remarks
shOut = shIn * scale. All coefficients are multiplied by scale.