CFx SDK Documentation 2024 SP0
|
#include <GiMaterialItem.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGiMaterialItem) | |
virtual OdGiMaterialTextureEntryPtr | diffuseTexture () const =0 |
virtual OdGiMaterialTextureEntryPtr | diffuseTexture ()=0 |
virtual OdGiMaterialTextureEntryPtr | createDiffuseTexture ()=0 |
virtual void | removeDiffuseTexture ()=0 |
virtual bool | haveDiffuseTexture () const =0 |
virtual OdRxObjectPtr | cachedData () const =0 |
virtual void | setCachedData (OdRxObjectPtr data)=0 |
virtual const OdDbStub * | materialId () const =0 |
virtual void | setMaterialId (const OdDbStub *matId=NULL)=0 |
virtual bool | isMaterialIdValid (const OdDbStub *matId)=0 |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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 OdRxClass * | desc () |
Container item for material data storage.
<group OdGi_Classes>
Definition at line 652 of file GiMaterialItem.h.
|
pure virtual |
Retrieves pointer to cached data object.
|
pure virtual |
Creates and returns diffuse texture pointer.
|
pure virtual |
Retrieves diffuse texture pointer.
|
pure virtual |
Retrieves diffuse texture pointer.
|
pure virtual |
Checks whether the diffuse texture is created.
|
pure virtual |
Checks whether stored material ID is equal to matId.
|
pure virtual |
Retrieves material ID.
OdGiMaterialItem::ODRX_DECLARE_MEMBERS | ( | OdGiMaterialItem | ) |
|
pure virtual |
Destroys diffuse texture.
|
pure virtual |
Set pointer to cached data object.
data | [in] Pointer to cached data. |
|
pure virtual |
Set material ID.
matId | [in] Pointer to the material identifier. |