CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
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 309 of file GiMaterialItem.h.

Member Function Documentation

◆ allowTextureLoading()

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

Checks whether the device supports loading of the specified kind of texture.

Parameters
pTexture[in] Pointer to material texture.
Returns
true if device supports loading of the specified kind of texture, false otherwise.

◆ 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.
Returns
smart pointer to the material texture data.

◆ ODRX_DECLARE_MEMBERS()

OdGiMaterialTextureLoaderExt::ODRX_DECLARE_MEMBERS ( OdGiMaterialTextureLoaderExt  )

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