#include <materialmapping.h>
◆ MAXON_INTERFACE()
◆ PassOne()
The first stage provides the constant-valued parameters of a material, omitting the provision of textures. The returned collection of source parameters defines which textures can be handled in the second stage.
Note that time-taking baking processes may take place between the two stages.
- Parameters
-
[in] | sourceParameters | The constant-valued source parameters. |
- Returns
- The parameters of further interest.
◆ PassTwo()
The second stage provides the textures of non-constant parameters that have been marked of further interest by returning their Ids in the first stage.
This stage is expected to provide the complete target material data. Note that time-taking baking processes may take place between the two stages.
- Parameters
-
[in] | sourceTextures | The textures of the source material (texture buffers, image references, substance references). |
- Returns
- The target material data.