usdrt::AccessType
Defined in usdrt/scenegraph/interface/AccessType.h
-
enum class usdrt::AccessType : uint32_t
Type of access requested.
Values:
-
enumerator eUnspecified
Used as a guard against uninitialized or memset(0) data.
-
enumerator eRead
Read only.
-
enumerator eReadWrite
Read/Write.
-
enumerator eOverwrite
Initial value won’t be read, but may be overwritten and then may be read. Knowing that data is about to be overwritten allows USDRT to perform optimizations. For example, if data is valid on CPU then requested on GPU with eOverwrite, USDRT doesn’t have to copy the data from CPU to GPU because it knows the GPU is about to overwrite it.
-
enumerator eUnspecified