CFx SDK Documentation 2024 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 550 of file GsBaseInclude.h.
Enumerator | |
---|---|
kSyncDeviceAccess | |
kSyncDeviceResource | |
kSyncRasterCache | |
kSyncTextureCache | |
kSyncCount |
Definition at line 553 of file GsBaseInclude.h.
|
inline |
Definition at line 563 of file GsBaseInclude.h.
Definition at line 564 of file GsBaseInclude.h.
Definition at line 565 of file GsBaseInclude.h.