![]() |
wisdom
|
C version:
C++ version:
Memory flags. Determine optional properties of the memory allocation.
Values:
WisMemoryFlagsNone = 0: No flags set. Memory is regular.WisMemoryFlagsDedicatedAllocation = (1 << 0): Memory is dedicated. Used for resources that require dedicated memory. Useful for big resources that are not shared with other resources. E.g. fullscreen textures, big buffers, etc.WisMemoryFlagsMapped = (1 << 1): Memory is mapped. Used in combination with WisMemoryTypeUpload or WisMemoryTypeReadback to map memory for CPU access.WisMemoryFlagsExportable = (1 << 2): Memory is exportable. If set, memory can be exported to other processes or APIs. Works only with Device Local memory (WisMemoryTypeDefault) and only on AllocateXMemory calls. Outside of AllocateXMemory the flag is ignored.