CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdGiSceneTexture Class Reference

#include <GiMaterial.h>

Inheritance diagram for OdGiSceneTexture:
OdGiMaterialTexture OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiSceneTexture)
 
 OdGiSceneTexture ()
 
 ~OdGiSceneTexture ()
 
void setSoftness (OdUInt8 softness)
 
OdUInt8 softness () const
 
virtual bool operator== (const OdGiMaterialTexture &texture) const
 
OdGiSceneTextureoperator= (const OdGiSceneTexture &texture)
 
void copyFrom (const OdRxObject *pSource)
 
- Public Member Functions inherited from OdGiMaterialTexture
 ODRX_DECLARE_MEMBERS (OdGiMaterialTexture)
 
- 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 OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Protected Attributes

OdUInt8 m_softness
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
static void rxInit ()
 
static void rxUninit ()
 
- Protected Member Functions inherited from OdGiMaterialTexture
 OdGiMaterialTexture ()
 
 ~OdGiMaterialTexture ()
 

Detailed Description

This class defines scene material texture placeholder. Corresponding C++ library: TD_Gi <group OdGi_Classes>

Definition at line 1600 of file GiMaterial.h.

Constructor & Destructor Documentation

◆ OdGiSceneTexture()

OdGiSceneTexture::OdGiSceneTexture ( )
inline

Default constructor for the OdGiSceneTexture class.

Definition at line 1608 of file GiMaterial.h.

◆ ~OdGiSceneTexture()

OdGiSceneTexture::~OdGiSceneTexture ( )
inline

Destructor for the OdGiSceneTexture class.

Definition at line 1613 of file GiMaterial.h.

Member Function Documentation

◆ copyFrom()

void OdGiSceneTexture::copyFrom ( const OdRxObject * pSource)
inlinevirtual

Copies the data of the source object to the current object.

Parameters
pSource[in] Input source object.

Reimplemented from OdRxObject.

Definition at line 1665 of file GiMaterial.h.

◆ ODRX_DECLARE_MEMBERS()

OdGiSceneTexture::ODRX_DECLARE_MEMBERS ( OdGiSceneTexture )

◆ operator=()

OdGiSceneTexture & OdGiSceneTexture::operator= ( const OdGiSceneTexture & texture)
inline

Assignment operator for the OdGiSceneTexture class.

Parameters
texture[in] Texture to be assigned.
Returns
a reference to this scene texture.

Definition at line 1652 of file GiMaterial.h.

◆ operator==()

virtual bool OdGiSceneTexture::operator== ( const OdGiMaterialTexture & texture) const
inlinevirtual

Equality operator for the OdGiMaterialTexture class. The objects are equal if: the passed object is an scene texture placeholder.

Parameters
texture[in] Texture to be compared.
Returns
true if the specified texture is equal to this scene texture, false otherwise.

Reimplemented from OdGiMaterialTexture.

Definition at line 1640 of file GiMaterial.h.

◆ setSoftness()

void OdGiSceneTexture::setSoftness ( OdUInt8 softness)
inline

Sets the softness (blur amount) of scene texture.

Parameters
softness[in] Softness coefficient.

Definition at line 1620 of file GiMaterial.h.

◆ softness()

OdUInt8 OdGiSceneTexture::softness ( ) const
inline

Retrieves the softness (blur amount) coefficient of this scene texture.

Returns
softness (blur amount) of this scene texture.

Definition at line 1628 of file GiMaterial.h.

Member Data Documentation

◆ m_softness

OdUInt8 OdGiSceneTexture::m_softness
protected

Definition at line 1674 of file GiMaterial.h.


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