Bypass Status Callbacks

Enumerations

OmniClientCacheBypassStatus

Cache Bypass Status If enabled, the cache is being bypassed to workaround misbehaving cache.

Functions

char const * omniClientGetCacheBypassStatusString(OmniClientCacheBypassStatus status)

Retrieve a human readable string for a cache bypass status.

uint32_t omniClientRegisterCacheBypassStatusCallback(void *userData, OmniClientCacheBypassStatusCallback callback)

Register a callback to receive cache bypass status updates.

OmniClientCacheBypassStatus omniClientSetCacheBypassStatus(OmniClientCacheBypassStatus status)

Set the cache bypass status. The function will not call the callback registered with omniClientRegisterCacheBypassStatusCallback.

Typedefs

OmniClientCacheBypassStatusCallback

This is called any time any cache status changes.

Enumerations

enum OmniClientCacheBypassStatus

Cache Bypass Status If enabled, the cache is being bypassed to workaround misbehaving cache.

Values:

enumerator eOmniClientCacheBypassStatus_Enabled

Omniverse Cache is being actively bypassed.

enumerator eOmniClientCacheBypassStatus_Disabled

Omniverse Cache is not being bypassed.

enumerator Count_eOmniClientCacheBypassStatus

Functions

char const *omniClientGetCacheBypassStatusString(OmniClientCacheBypassStatus status)

Retrieve a human readable string for a cache bypass status.

uint32_t omniClientRegisterCacheBypassStatusCallback(void *userData, OmniClientCacheBypassStatusCallback callback)

Register a callback to receive cache bypass status updates.

Returns

a handle that you can use with omniClientUnregisterCallback

OmniClientCacheBypassStatus omniClientSetCacheBypassStatus(OmniClientCacheBypassStatus status)

Set the cache bypass status. The function will not call the callback registered with omniClientRegisterCacheBypassStatusCallback.

Typedefs

typedef void (*OmniClientCacheBypassStatusCallback)(void *userData, OmniClientCacheBypassStatus status)

This is called any time any cache status changes.