Detailed Description
- See also:
- IMtlRender_Compatibility_MtlBase,
Class ClassDesc2,
Class Mtl, Class Texmap
- Description:
- This interface is used to determine whether a Renderer
flags itself as being compatible with a specific material/map
plugin. If the Renderer
flags itself as being compatible with a material/map, then it is
deemed compatible with that material/map regardless of what class
IMtlRender_Compatibility_MtlBase
might say.
- Implementation instructions:
- To be inheritted by a
ClassDesc or ClassDesc2 of a Renderer
plugin. The child class needs to call Init(*this) in its
constructor.
- Default compatibility:
- If neither the renderer nor the material/map implements the
compatibility interface, they are considered compatible by
default.
#include <IMtlRender_Compatibility.h>
List
of all members.
Member Function Documentation
- Parameters:
-
classDesc |
- Reference to sub-class instance |
{
LoadDescriptor(IMTLRENDER_COMPATIBILITY_RENDERER_INTERFACEID, _M("IMtlRender_Compability_Renderer"), 0, &classDesc, 0, end);
}
virtual bool IsCompatibleWithMtlBase |
( |
ClassDesc & |
mtlBaseClassDesc |
) |
[pure virtual] |
- Parameters:
-
mtlBaseClassDesc |
- Class descriptor of Mtl or Texmap plugin |
- Returns:
- true if this renderer is compatable with the given
material
IMtlRender_Compatibility_Renderer
IMtlRender_Compatibility_Renderer IMtlRender_Compatibility_Renderer
IMtlRender_Compatibility_Renderer IMtlRender_Compatibility_Renderer
IMtlRender_Compatibility_Renderer IMtlRender_Compatibility_Renderer
IMtlRender_Compatibility_Renderer IMtlRender_Compatibility_Renderer
IMtlRender_Compatibility_Renderer
IMtlRender_Compatibility_Renderer
IMtlRender_Compatibility_Renderer IMtlRender_Compatibility_Renderer
IMtlRender_Compatibility_Renderer IMtlRender_Compatibility_Renderer
IMtlRender_Compatibility_Renderer IMtlRender_Compatibility_Renderer
IMtlRender_Compatibility_Renderer IMtlRender_Compatibility_Renderer
IMtlRender_Compatibility_Renderer