GenerateSamples() Generate samples, using data from the RixLightContext object:
More...
#include <RixLight.h>
GenerateSamples() Generate samples, using data from the RixLightContext object:
- random numbers are provided by GetSample2D()
- surface information of the shading point
- matrix to transform from the light's local space to the space of the shaded point The light must set all members of the result struct, else the sample is considered invalid.
◆ diffuseColor
RtColorRGB RixLight::GenerateSamplesResults::diffuseColor |
◆ direction
RtVector3& RixLight::GenerateSamplesResults::direction |
◆ distance
float& RixLight::GenerateSamplesResults::distance |
◆ isBidirectional
bool const RixLight::GenerateSamplesResults::isBidirectional |
◆ normal
RtNormal3& RixLight::GenerateSamplesResults::normal |
◆ patchIndex
int& RixLight::GenerateSamplesResults::patchIndex |
◆ pdfDirect
float& RixLight::GenerateSamplesResults::pdfDirect |
◆ pdfEmit
float& RixLight::GenerateSamplesResults::pdfEmit |
◆ pdfEmitDirection
float& RixLight::GenerateSamplesResults::pdfEmitDirection |
◆ solidAngleToArea
float& RixLight::GenerateSamplesResults::solidAngleToArea |
◆ specularColor
RtColorRGB RixLight::GenerateSamplesResults::specularColor |
◆ UVW
RtFloat3& RixLight::GenerateSamplesResults::UVW |
The documentation for this struct was generated from the following file: