UmbraEnvironmentInfo struct

A structure describing environment parameters.

Public variables

UmbraTextureSupportFlags textureSupportFlags
A bitmask of UmbraTextureSupportFlagBits specifying texture formats supported by the environment.
const char* localCacheDirectory
A directory of where the local cache will be read from and written to.
uint64_t localCacheMaximumByteSize
The maximum size of the local cache.

Variable details

UmbraTextureSupportFlags UmbraEnvironmentInfo::textureSupportFlags

A bitmask of UmbraTextureSupportFlagBits specifying texture formats supported by the environment.

It is recommended to specify the supported formats as accurately as possible.

const char* UmbraEnvironmentInfo::localCacheDirectory

A directory of where the local cache will be read from and written to.

The specified directory must exist in the file system. Can be NULL.

uint64_t UmbraEnvironmentInfo::localCacheMaximumByteSize

The maximum size of the local cache.

Must be greater than 0 if localCacheDirectory is not NULL.