|
CFx SDK Documentation
2023 SP0
|
#include <GsBaseInclude.h>
Public Types | |
| enum | SyncType { kSyncDeviceAccess = 0 , kSyncDeviceResource , kSyncRasterCache , kSyncTextureCache , kSyncCount } |
Public Member Functions | |
| OdGsBaseDeviceMTHelpers () | |
| void | lock (SyncType nSync) |
| void | unlock (SyncType nSync) |
Public Member Functions inherited from OdGsBaseDeviceMTHelpersTemplate< SyncCount > | |
| OdGsBaseDeviceMTHelpersTemplate () | |
| void | setEnabled (bool bEnable) |
| bool | isEnabled () const |
| void | lock (OdUInt32 nSync) |
| void | unlock (OdUInt32 nSync) |
Additional Inherited Members | |
Protected Member Functions inherited from OdGsBaseDeviceMTHelpersTemplate< SyncCount > | |
| void | check (int nSyncObjects) |
Protected Attributes inherited from OdGsBaseDeviceMTHelpersTemplate< SyncCount > | |
| OdMutexPtr | m_locker [SyncCount] |
| bool | m_bEnabled |
Helper class provide base synchronization routines for device resources access.
Corresponding C++ library: Gs
<group OdGs_Classes>
Definition at line 471 of file GsBaseInclude.h.
| Enumerator | |
|---|---|
| kSyncDeviceAccess | |
| kSyncDeviceResource | |
| kSyncRasterCache | |
| kSyncTextureCache | |
| kSyncCount | |
Definition at line 474 of file GsBaseInclude.h.
|
inline |
Definition at line 484 of file GsBaseInclude.h.
Definition at line 485 of file GsBaseInclude.h.
Definition at line 486 of file GsBaseInclude.h.