MfxBase#

class MfxBase#

Provide basic access to host’s suites, use for any class but for MfxEffect (which must own the MfxHost, not just a reference it).

Subclassed by MfxAttribute, MfxInput, MfxInputDef, MfxMesh, MfxParam< T >, MfxParamDef< T >

Protected Functions

MfxBase(const MfxHost &host)#

At construction the object need to know the host, which is ultimately owned by the current MfxEffect.

const MfxHost &host() const#

Subclasses usually use the host() implicitely when using the MFX_CHECK and MFX_ENSURE macros.