CFx SDK Documentation
2022 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 516 of file GiMaterialItem.h.
|
pure virtual |
Return pointer to cached data object.
|
pure virtual |
Create and return diffuse texture pointer.
|
pure virtual |
Return diffuse texture pointer.
|
pure virtual |
Return diffuse texture pointer.
|
pure virtual |
Return true if diffuse texture is created.
|
pure virtual |
Test whether stored material ID is equal to matId.
|
pure virtual |
Return material ID.
OdGiMaterialItem::ODRX_DECLARE_MEMBERS | ( | OdGiMaterialItem | ) |
|
pure virtual |
Destroy diffuse texture.
|
pure virtual |
Set pointer to cached data object.
Set material ID.