Public Member Functions | |
| virtual MCCOMErr MCCOMAPI | QueryInterface (const MCIID &riid, void **ppvObj) |
| virtual uint32 MCCOMAPI | AddRef () |
| virtual MCCOMErr MCCOMAPI | CalcRefraction (RefractionIO &refractionIO, const LightingContext &lightingContext) |
Basic RefractionFeature class. Derive from this for a default implementation of I3DExRefractionFeature
| virtual uint32 MCCOMAPI TBasicRefractionFeature::AddRef | ( | ) | [inline, virtual] |
Increments the reference count of the object
Reimplemented from TBasicRenderFeature.
| virtual MCCOMErr MCCOMAPI TBasicRefractionFeature::CalcRefraction | ( | RefractionIO & | refractionIO, | |
| const LightingContext & | lightingContext | |||
| ) | [virtual] |
Calculates the refraction given a particular lighting context (point, shading, incoming ray...)
| refractionIO | Info used for refraction features | |
| lightingContext | The ligthing context (point, shading, incoming ray...) |
Implements I3DExRefractionFeature.
| virtual MCCOMErr MCCOMAPI TBasicRefractionFeature::QueryInterface | ( | const MCIID & | riid, | |
| void ** | ppvObj | |||
| ) | [virtual] |
Check if the object supports a given interface and returns a pointer to that interface if it does. Note that QueryInterface will increment the reference count of the object by one if the interface is found.
| riid | GUID of the interface | |
| ppvObj | A pointer to the pointer being returned. |
Reimplemented from TBasicRenderFeature.
1.6.3