#include <adskShader.h>


| SurfaceParameters | The surface parameter structure. | |
| SurfaceResult | The surface result structure. | |
| ShaderHelper | The shader helper to use with this shader. | |
| AmbientMaterialColorComponent | The ambient material color component to use with this shader. | |
| AmbientComponent | The ambient component to use with this shader. | |
| DiffuseMaterialColorComponent | The diffuse material color component to use with this shader. | |
| DiffuseComponent | The diffuse component to use with this shader. | |
| SpecularComponent | The specular component to use with this shader. | |
| ReflectionComponent | The reflection component to use with this shader. | |
| RefractionComponent | The refraction component to use with this shader. | |
| ScatterComponent | The scatter component to use with this shader. | |
| IndirectComponent | The indirect component to use with this shader. | |
| IncandescenceComponent | The incandescence component to use with this shader. | |
| CustomComponent | The custom component to use with this shader. | |
| VERSION | The version of this shader. Should match the version of the shader declared in the .mi file. |
Public Member Functions | |
| Surface (miState *pState, SurfaceParameters *pParameters) | |
| Surface shader constructor. | |
| virtual | ~Surface () |
| Surface shader destructor. | |
| miBoolean | operator() (SurfaceResult *pResult, miState *pState, SurfaceParameters *pParameters) |
| Main shading function. | |
Public Attributes | |
| void * | mScatterData |
| Surface< SurfaceParameters, SurfaceResult, ShaderHelper, AmbientMaterialColorComponent, AmbientComponent, DiffuseMaterialColorComponent, DiffuseComponent, SpecularComponent, ReflectionComponent, RefractionComponent, ScatterComponent, IndirectComponent, IncandescenceComponent, CustomComponent, VERSION >::Surface | ( | miState * | pState, | |
| SurfaceParameters * | pParameters | |||
| ) | [inline] |
| [in,out] | pState | A pointer to the mental ray state structure. |
| [in] | pParameters | A pointer to the shader parameters. |
| Surface< SurfaceParameters, SurfaceResult, ShaderHelper, AmbientMaterialColorComponent, AmbientComponent, DiffuseMaterialColorComponent, DiffuseComponent, SpecularComponent, ReflectionComponent, RefractionComponent, ScatterComponent, IndirectComponent, IncandescenceComponent, CustomComponent, VERSION >::~Surface | ( | ) | [inline, virtual] |
mDestructorState and mDestructorParameters will be set correctly when the destructor is called.
| miBoolean Surface< SurfaceParameters, SurfaceResult, ShaderHelper, AmbientMaterialColorComponent, AmbientComponent, DiffuseMaterialColorComponent, DiffuseComponent, SpecularComponent, ReflectionComponent, RefractionComponent, ScatterComponent, IndirectComponent, IncandescenceComponent, CustomComponent, VERSION >::operator() | ( | SurfaceResult * | pResult, | |
| miState * | pState, | |||
| SurfaceParameters * | pParameters | |||
| ) | [inline] |
| [out] | pResult | A pointer to the mental ray surface shader result struct. |
| [in,out] | pState | A pointer to the mental ray state structure. |
| [in] | pParameters | A pointer to the shader parameters. |
| void* Surface< SurfaceParameters, SurfaceResult, ShaderHelper, AmbientMaterialColorComponent, AmbientComponent, DiffuseMaterialColorComponent, DiffuseComponent, SpecularComponent, ReflectionComponent, RefractionComponent, ScatterComponent, IndirectComponent, IncandescenceComponent, CustomComponent, VERSION >::mScatterData |
| Autodesk® Maya® 2012 © 2010 Autodesk, Inc. All rights reserved. |
Generated with
|