CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdGiMaterialTextureLoaderExt Class Referenceabstract

#include <GiMaterialItem.h>

Inheritance diagram for OdGiMaterialTextureLoaderExt:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiMaterialTextureLoaderExt)
 
virtual bool allowTextureLoading (OdGiMaterialTexturePtr pTexture)=0
 
virtual OdGiMaterialTextureDataPtr loadTexture (OdGiMaterialTextureData::DevDataVariant pDeviceInfo, OdRxClass *pTexDataImpl, const OdGiContext &giCtx, OdGiMaterialTextureEntry *pEntry, OdGiMaterialTexturePtr pTexture)=0
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

Extends device by texture loading functionality.

See also
TD_Gi

<group OdGi_Classes>

Definition at line 225 of file GiMaterialItem.h.

Member Function Documentation

◆ allowTextureLoading()

virtual bool OdGiMaterialTextureLoaderExt::allowTextureLoading ( OdGiMaterialTexturePtr  pTexture)
pure virtual

Returns true if device supports loading of this kind of texture.

Parameters
pTexture[in] Pointer to material texture.

◆ loadTexture()

virtual OdGiMaterialTextureDataPtr OdGiMaterialTextureLoaderExt::loadTexture ( OdGiMaterialTextureData::DevDataVariant  pDeviceInfo,
OdRxClass pTexDataImpl,
const OdGiContext giCtx,
OdGiMaterialTextureEntry pEntry,
OdGiMaterialTexturePtr  pTexture 
)
pure virtual

Loads material texture.

Parameters
pDeviceInfo[in] Optional external device information.
pTexDataImpl[in] Description of texture data class implementation.
giCtx[in] Gi context.
pEntry[in] Texture entry.
pTexture[in] Pointer to material texture.

◆ ODRX_DECLARE_MEMBERS()

OdGiMaterialTextureLoaderExt::ODRX_DECLARE_MEMBERS ( OdGiMaterialTextureLoaderExt  )

The documentation for this class was generated from the following file: