RadeonRaysProbePostProcessor.AddSphericalHarmonicsL2

Declaration

public bool AddSphericalHarmonicsL2(LightTransport.IDeviceContext context, BufferSlice<SphericalHarmonicsL2> a, BufferSlice<SphericalHarmonicsL2> b, BufferSlice<SphericalHarmonicsL2> sum, int probeCount);

Parameters

context Device context.
A Source buffer A.
B Source buffer B.
sum Destination buffer where the sum of A and B is written.
probeCount Number of SphericalHarmonicsL2 probes to add.

Returns

bool True if the operation is successfully added to the command queue in the context.

Description

Add two arrays of SphericalHarmonicsL2 together.

Sum = A + B.


Did you find this page useful? Please give it a rating: