DefaultIndirectComponent< ParameterType, ShaderHelper >
Class Template Reference
[Indirect
Illumination Passes]
#include
<adskComponent.h>
List of
all members.
Detailed Description
template<typename ParameterType, typename
ShaderHelper>
class DefaultIndirectComponent< ParameterType, ShaderHelper
>
Default indirect component.
This component computes the indirect light arriving at the
shading point.
- Template Parameters:
-
|
ParameterType |
The structure used in the shader declaration to represent the
shader parameters. |
|
ShaderHelper |
The class used in the shader declaration to represent the
shader helper. See ShaderHelper for details on the
required methods. |
Constructor & Destructor Documentation
template<typename ParameterType,
typename ShaderHelper>
Component constructor.
- Parameters:
-
[in,out] |
pState |
The mental ray rendering state. |
[in] |
pParameters |
The shader parameters. |
Member Function Documentation
template<typename ParameterType,
typename ShaderHelper>
Function object operator.
- Parameters:
-
[in,out] |
pState |
The mental ray rendering state. |
[in,out] |
pParameters |
The shader parameters. |
[in,out] |
pHelper |
The shader helper for this shader. |
[in] |
pColor |
The diffuse color of the material. |
[in] |
pTransparency |
The transparency of the material. |
- Returns:
- The color corresponding to this component.