CFx SDK Documentation 2024 SP0
|
#include <GiMaterialItem.h>
Classes | |
struct | DevDataVariant |
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGiMaterialTextureData) | |
virtual void | setTextureData (OdGiMaterialTextureData::DevDataVariant pDeviceInfo, const OdGiImageBGRA32 &image)=0 |
virtual void | textureData (OdGiPixelBGRA32Array &data, OdUInt32 &width, OdUInt32 &height) const =0 |
virtual bool | haveData () const =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 |
Static Public Member Functions | |
static OdSmartPtr< OdGiMaterialTextureData > | createDefaultTextureDataImplementation () |
static OdRxClass * | defaultTextureDataImplementationDesc () |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Friends | |
class | OdGiModuleObject |
Internal texture data for device support.
<group OdGi_Classes>
Definition at line 48 of file GiMaterialItem.h.
|
static |
Create default material texture data implementation that stores color array.
|
static |
Retrieves the default texture data implementation description.
|
pure virtual |
Return true if texture data was previously initialized.
OdGiMaterialTextureData::ODRX_DECLARE_MEMBERS | ( | OdGiMaterialTextureData | ) |
|
pure virtual |
Set texture pixels from RGBA array.
pDeviceInfo | [in] Optional external device information. |
image | [in] Input BGRA image. |
|
pure virtual |
Get texture pixels as array of RGBA colors.
data | [out] Output BGRA colors array. |
width | [out] Width of texture. |
height | [out] Height of texture. |
|
friend |
Definition at line 207 of file GiMaterialItem.h.