Always use this function to determine compatibility.
146 {
147
150
151 if((mtlBaseCompatibility ==
NULL) && (rendererCompatibility ==
NULL)) {
152
153 return true;
154 }
156
157 return true;
158 }
160
161 return true;
162 }
163 else {
164
165 return false;
166 }
167}
IMtlRender_Compatibility_Renderer * Get_IMtlRender_Compatibility_Renderer(ClassDesc &rendererClassDesc)
Definition: IMtlRender_Compatibility.h:135
IMtlRender_Compatibility_MtlBase * Get_IMtlRender_Compability_MtlBase(ClassDesc &mtlBaseClassDesc)
Definition: IMtlRender_Compatibility.h:95
#define NULL
Definition: autoptr.h:18
virtual bool IsCompatibleWithRenderer(ClassDesc &rendererClassDesc)=0
virtual bool IsCompatibleWithMtlBase(ClassDesc &mtlBaseClassDesc)=0