|
My Project
|
CCCSFaceProcessor implementation of IDataProcessor. More...
#include <ContentLoaderCCSFace.h>
Public Member Functions | |
| CCCSFaceProcessor (CharModelInstance *pCharModelInstance, const char *sFileName) | |
| RenderDevicePtr | GetRenderDevice () |
| Get render device. | |
| HRESULT | CleanUp () |
| clean up everything | |
| HRESULT | LockDeviceObject () |
| LockDeviceObject is called from the Graphics thread to lock the device object (D3D9), unless IsDeviceObject() is false. More... | |
| HRESULT | UnLockDeviceObject () |
| UnLockDeviceObject is called from the Graphics thread to unlock the device object, or call updatesubresource for D3D10, unless IsDeviceObject() is false. More... | |
| HRESULT | Destroy () |
| Destroy is called by the graphics thread when it has consumed the data, unless IsDeviceObject() is false. More... | |
| HRESULT | Process (void *pData, int cBytes) |
| Process is called by one of the processing threads to process the data before it is consumed. More... | |
| HRESULT | CopyToResource () |
| CopyToResource copies the data from memory to the locked device object (D3D9). More... | |
| void | SetResourceError () |
| SetResourceError is called to set the resource pointer to an error code in the event that something went wrong. More... | |
Public Member Functions inherited from ParaEngine::IDataProcessor | |
| virtual void | SetProcessorWorkerData (IProcessorWorkerData *pThreadLocalData) |
| set thread local data. More... | |
| virtual IProcessorWorkerData * | GetProcessorWorkerData () |
| get thread local data. More... | |
| virtual bool | IsDeviceObject () |
| default to true. More... | |
Protected Member Functions | |
| TextureEntity * | ComposeRenderTarget () |
| compose and return the render target as a texture entity. More... | |
CCCSFaceProcessor implementation of IDataProcessor.
|
protected |
compose and return the render target as a texture entity.
This function should be called from render thread, such as from UnLockDeviceObject() as the last step.
|
virtual |
CopyToResource copies the data from memory to the locked device object (D3D9).
Also by the IO thread.
Implements ParaEngine::IDataProcessor.
|
virtual |
Destroy is called by the graphics thread when it has consumed the data, unless IsDeviceObject() is false.
Implements ParaEngine::IDataProcessor.
|
virtual |
LockDeviceObject is called from the Graphics thread to lock the device object (D3D9), unless IsDeviceObject() is false.
Implements ParaEngine::IDataProcessor.
|
virtual |
Process is called by one of the processing threads to process the data before it is consumed.
Implements ParaEngine::IDataProcessor.
|
virtual |
SetResourceError is called to set the resource pointer to an error code in the event that something went wrong.
Implements ParaEngine::IDataProcessor.
|
virtual |
UnLockDeviceObject is called from the Graphics thread to unlock the device object, or call updatesubresource for D3D10, unless IsDeviceObject() is false.
Implements ParaEngine::IDataProcessor.
1.8.12