Fovia C++ In-Process API
Public Member Functions | List of all members
IVolumeShadow Struct Referenceabstract
Inheritance diagram for IVolumeShadow:
IRoot

Public Member Functions

virtual signed int Allocate (IVolumeData *pData)=0
 
virtual signed int ApplyVolumetricLight (VOLUME_LIGHT_PARAMS *pVlp, IRenderEngine *pReferenceEngine)=0
 
virtual signed int AskInterface (const BGUID *piid, IRoot **ppr)=0
 
virtual signed int Clear ()=0
 
virtual signed int CopyFrom (IVolumeShadow *pShadow)=0
 
virtual signed int DecRef ()=0
 
virtual signed int Free ()=0
 
virtual signed int GetShadowMap (unsigned short ***pMap, VOLUME_DATA_PARAMS *vdp)=0
 
virtual signed int IncRef ()=0
 
virtual signed int SetCustomAllocator (IAllocator *pAlloc)=0
 
virtual signed int SetShadowMap (unsigned short **pMap, VOLUME_DATA_PARAMS *vdp)=0
 
- Public Member Functions inherited from IRoot
template<class T >
signed int AskInterface (T **pp)
 

Detailed Description

Interface representing a volumetric shadow map.

Member Function Documentation

virtual signed int IVolumeShadow::AskInterface ( const BGUID piid,
IRoot **  ppr 
)
pure virtual

Queries this object to see if the interface piid is supported and returns the result in ppr.

Parameters
piidThe BGUID of the requested interface.
pprThe address of an IRoot pointer which will receive the new interface.
Returns
S_OK if the interface is supported. E_FAIL if it is not.

Implements IRoot.

virtual signed int IVolumeShadow::DecRef ( )
pure virtual

Decreases the reference count on this object by 1. If the reference count reaches 0, the object is deallocated.

Implements IRoot.

virtual signed int IVolumeShadow::IncRef ( )
pure virtual

Increases the reference count on this object by 1. You do not need to call this after an object is first created. It is 1 by default.

Implements IRoot.